mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
driver/audiodec/ffmpegdec: work-around for pre-2.2 ffmpeg API build
Origin commit data
------------------
Commit: be45410a3d
Author: martii <m4rtii@gmx.de>
Date: 2014-04-13 (Sun, 13 Apr 2014)
This commit is contained in:
@@ -42,6 +42,11 @@ extern "C" {
|
||||
#include <libavutil/samplefmt.h>
|
||||
#include <libswresample/swresample.h>
|
||||
}
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55, 28, 1)
|
||||
#define av_frame_alloc avcodec_alloc_frame
|
||||
#define av_frame_unref avcodec_get_frame_defaults
|
||||
#define av_frame_free avcodec_free_frame
|
||||
#endif
|
||||
#include <OpenThreads/ScopedLock>
|
||||
|
||||
#include <driver/netfile.h>
|
||||
|
Reference in New Issue
Block a user