[FFmpeg-cvslog] lavc/mediacodecdec: fix size variable shadowing in ff_mediacodec_dec_decode

Matthieu Bouron git at videolan.org
Thu Oct 6 17:51:21 EEST 2016


ffmpeg | branch: master | Matthieu Bouron <matthieu.bouron at stupeflix.com> | Thu Oct  6 12:04:57 2016 +0200| [09191516511840edb0356b0f13fc149f78f8a09e] | committer: Matthieu Bouron

lavc/mediacodecdec: fix size variable shadowing in ff_mediacodec_dec_decode

Fixes incompatible pointer type warning on 64-bit systems.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=09191516511840edb0356b0f13fc149f78f8a09e
---

 libavcodec/mediacodecdec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c
index 0faa4cf..223942b 100644
--- a/libavcodec/mediacodecdec.c
+++ b/libavcodec/mediacodecdec.c
@@ -565,7 +565,6 @@ int ff_mediacodec_dec_decode(AVCodecContext *avctx, MediaCodecDecContext *s,
     }
 
     while (offset < pkt->size || (need_draining && !s->draining)) {
-        int size;
 
         index = ff_AMediaCodec_dequeueInputBuffer(codec, input_dequeue_timeout_us);
         if (ff_AMediaCodec_infoTryAgainLater(codec, index)) {



More information about the ffmpeg-cvslog mailing list