Message ID | 20161006123157.8434-3-matthieu.bouron@gmail.com |
---|---|
State | Accepted |
Commit | 09191516511840edb0356b0f13fc149f78f8a09e |
Headers | show |
On Thu, Oct 06, 2016 at 02:31:57PM +0200, Matthieu Bouron wrote: > From: Matthieu Bouron <matthieu.bouron@stupeflix.com> > > Fixes incompatible pointer type warning on 64-bit systems. > --- > libavcodec/mediacodecdec.c | 1 - > 1 file changed, 1 deletion(-) LGTM thx [...]
On Thu, Oct 06, 2016 at 03:59:31PM +0200, Michael Niedermayer wrote: > On Thu, Oct 06, 2016 at 02:31:57PM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron <matthieu.bouron@stupeflix.com> > > > > Fixes incompatible pointer type warning on 64-bit systems. > > --- > > libavcodec/mediacodecdec.c | 1 - > > 1 file changed, 1 deletion(-) > > LGTM Pushed. Thanks. Matthieu [...]
diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 3d519ca..126de17 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec/mediacodecdec.c @@ -561,7 +561,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)) {
From: Matthieu Bouron <matthieu.bouron@stupeflix.com> Fixes incompatible pointer type warning on 64-bit systems. --- libavcodec/mediacodecdec.c | 1 - 1 file changed, 1 deletion(-)