diff options
author | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-10-06 12:04:57 +0200 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-10-06 16:49:28 +0200 |
commit | 09191516511840edb0356b0f13fc149f78f8a09e (patch) | |
tree | db6109623c28b32d15e0d40a9b43059241238c32 /libavcodec | |
parent | 8d858674fd1b114958c909065734b5df381ef356 (diff) | |
download | ffmpeg-09191516511840edb0356b0f13fc149f78f8a09e.tar.gz |
lavc/mediacodecdec: fix size variable shadowing in ff_mediacodec_dec_decode
Fixes incompatible pointer type warning on 64-bit systems.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mediacodecdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 0faa4cf3ef..223942b3bd 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)) { |