Skip to content

Commit

Permalink
engine: drop old ffmpeg support (~Ubuntu 14.04)
Browse files Browse the repository at this point in the history
It's 10 years since the release.

Signed-off-by: David Heidelberg <[email protected]>
  • Loading branch information
okias authored and Lihis committed Jan 8, 2025
1 parent 66fbb42 commit fca4fd4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions rwengine/src/audio/SoundSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fca4fd4

Please sign in to comment.