From 2a148faa7661cf233007ae9edb64152c1f90c338 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Wed, 12 Mar 2014 15:29:08 +0000 Subject: Fix compilation if AV_BUFFER is not defined. --- src/combined/ffmpeg/ff_video_decoder.c | 2 -- 1 file changed, 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 @@ -1722,7 +1721,6 @@ static void ff_postprocess (ff_video_decoder_t *this, vo_frame_t *img) qtable = this->av_frame->qscale_table; 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, -- cgit v1.2.3