diff options
author | Darren Salt <devspam@moreofthesa.me.uk> | 2014-03-12 15:29:08 +0000 |
---|---|---|
committer | Darren Salt <devspam@moreofthesa.me.uk> | 2014-03-12 15:29:08 +0000 |
commit | 2a148faa7661cf233007ae9edb64152c1f90c338 (patch) | |
tree | 0dc204be86243356305ec6a1e8dae86da62226a3 | |
parent | 70392876d9fa9d4ea959151ce1ae0394df544ecb (diff) | |
download | xine-lib-2a148faa7661cf233007ae9edb64152c1f90c338.tar.gz xine-lib-2a148faa7661cf233007ae9edb64152c1f90c338.tar.bz2 |
Fix compilation if AV_BUFFER is not defined.
-rw-r--r-- | src/combined/ffmpeg/ff_video_decoder.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/combined/ffmpeg/ff_video_decoder.c b/src/combined/ffmpeg/ff_video_decoder.c index 45ef0235a..e409b1ee3 100644 --- a/src/combined/ffmpeg/ff_video_decoder.c +++ b/src/combined/ffmpeg/ff_video_decoder.c @@ -1713,7 +1713,6 @@ static void ff_handle_mpeg12_buffer (ff_video_decoder_t *this, buf_element_t *bu static void ff_postprocess (ff_video_decoder_t *this, vo_frame_t *img) { -#ifdef AV_BUFFER int qstride, qtype; int8_t *qtable; #if LIBAVUTIL_VERSION_MAJOR < 53 @@ -1723,7 +1722,6 @@ static void ff_postprocess (ff_video_decoder_t *this, vo_frame_t *img) qstride = this->av_frame->qstride; qtype = this->av_frame->qscale_type; #endif -#endif pp_postprocess ((const uint8_t **)this->av_frame->data, this->av_frame->linesize, img->base, img->pitches, this->bih.biWidth, this->bih.biHeight, qtable, qstride, this->our_mode, this->our_context, |