// This file is part of Xpra.
// Copyright (C) 2018 Antoine Martin <antoine@xpra.org>
// Xpra is released under the terms of the GNU GPL v2, or, at your option, any
// later version. See the file COPYING for details.

#include "libavcodec/version.h"
#include "libavformat/avformat.h"

// The only distro still requiring this workaround is Ubuntu Bionic
void register_all(void) {
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100)
     av_register_all();
#endif
}
