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:
eb72cac
)
Call mpegvideo flush routine on h264 flush. Needed in particular
author
Jeff Downs
<heydowns@borg.com>
Sat, 17 Nov 2007 03:04:21 +0000
(
03:04
+0000)
committer
Jeff Downs
<heydowns@borg.com>
Sat, 17 Nov 2007 03:04:21 +0000
(
03:04
+0000)
to clear last_picture_ptr, next_picture_ptr for proper picture
management. Prevents crashes in error concealer following seeks.
Fixes Roundup issue 189.
Originally committed as revision 11049 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
f4def12
..
a20cf8b
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-3342,6
+3342,7
@@
static void flush_dpb(AVCodecContext *avctx){
if(h->s.current_picture_ptr)
h->s.current_picture_ptr->reference= 0;
h->s.first_field= 0;
+ ff_mpeg_flush(avctx);
}
/**