mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-03 01:33:50 +08:00
data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -2791,8 +2791,6 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
|
||||
MpegEncContext *s2 = &s->mpeg_enc_ctx;
|
||||
dprintf("fill_buffer\n");
|
||||
|
||||
*data_size = 0;
|
||||
|
||||
/* special case for last picture */
|
||||
if (buf_size == 0 && s2->low_delay==0 && s2->next_picture_ptr) {
|
||||
*picture= *(AVFrame*)s2->next_picture_ptr;
|
||||
|
||||
Reference in New Issue
Block a user