mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-03-03 10:17:46 +00:00
lavc/mediacodecdec: fix size variable shadowing in ff_mediacodec_dec_decode
Fixes incompatible pointer type warning on 64-bit systems.
This commit is contained in:
parent
8d858674fd
commit
0919151651
@ -565,7 +565,6 @@ int ff_mediacodec_dec_decode(AVCodecContext *avctx, MediaCodecDecContext *s,
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (offset < pkt->size || (need_draining && !s->draining)) {
|
while (offset < pkt->size || (need_draining && !s->draining)) {
|
||||||
int size;
|
|
||||||
|
|
||||||
index = ff_AMediaCodec_dequeueInputBuffer(codec, input_dequeue_timeout_us);
|
index = ff_AMediaCodec_dequeueInputBuffer(codec, input_dequeue_timeout_us);
|
||||||
if (ff_AMediaCodec_infoTryAgainLater(codec, index)) {
|
if (ff_AMediaCodec_infoTryAgainLater(codec, index)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user