mirror of
https://github.com/rwengine/openrw.git
synced 2025-04-28 21:08:05 +03:00
engine: drop old ffmpeg support (~Ubuntu 14.04)
It's 10 years since the release. Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
parent
e20356b05f
commit
51806f4ba6
1 changed files with 0 additions and 7 deletions
|
@ -10,13 +10,6 @@ extern "C" {
|
|||
#include <libswresample/swresample.h>
|
||||
}
|
||||
|
||||
// Rename some functions for older libavcodec/ffmpeg versions (e.g. Ubuntu
|
||||
// Trusty)
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55, 28, 1)
|
||||
#define av_frame_alloc avcodec_alloc_frame
|
||||
#define av_frame_free avcodec_free_frame
|
||||
#endif
|
||||
|
||||
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(57, 80, 100)
|
||||
#define avio_context_free av_freep
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue