mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/mediacodecdec: remove unneeded else block in ff_mediacodec_dec_send()
This commit is contained in:
parent
d83985ce11
commit
fef5ba4023
@ -632,7 +632,8 @@ int ff_mediacodec_dec_send(AVCodecContext *avctx, MediaCodecDecContext *s,
|
||||
|
||||
s->draining = 1;
|
||||
return 0;
|
||||
} else {
|
||||
}
|
||||
|
||||
size = FFMIN(pkt->size - offset, size);
|
||||
memcpy(data, pkt->data + offset, size);
|
||||
offset += size;
|
||||
@ -645,7 +646,6 @@ int ff_mediacodec_dec_send(AVCodecContext *avctx, MediaCodecDecContext *s,
|
||||
|
||||
av_log(avctx, AV_LOG_TRACE,
|
||||
"Queued input buffer %zd size=%zd ts=%"PRIi64"\n", index, size, pts);
|
||||
}
|
||||
}
|
||||
|
||||
if (offset == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user