Mercurial > libavcodec.hg
changeset 1601:a70c07e13e8e libavcodec
flush fix (untested)
author | michael |
---|---|
date | Mon, 03 Nov 2003 17:42:50 +0000 |
parents | bb0fa675533f |
children | fdb8244da1e5 |
files | mpegvideo.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegvideo.c Mon Nov 03 13:58:26 2003 +0000 +++ b/mpegvideo.c Mon Nov 03 17:42:50 2003 +0000 @@ -3210,7 +3210,7 @@ || s->picture[i].type == FF_BUFFER_TYPE_USER)) avctx->release_buffer(avctx, (AVFrame*)&s->picture[i]); } - s->last_picture_ptr = s->next_picture_ptr = NULL; + s->current_picture_ptr = s->last_picture_ptr = s->next_picture_ptr = NULL; s->parse_context.state= -1; s->parse_context.frame_start_found= 0;