projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e059574
)
flush fix (untested)
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 3 Nov 2003 17:42:50 +0000
(17:42 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 3 Nov 2003 17:42:50 +0000
(17:42 +0000)
Originally committed as revision 2473 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegvideo.c
b/libavcodec/mpegvideo.c
index
748d7ff
..
87f9976
100644
(file)
--- a/
libavcodec/mpegvideo.c
+++ b/
libavcodec/mpegvideo.c
@@
-3210,7
+3210,7
@@
void ff_mpeg_flush(AVCodecContext *avctx){
|| 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;