# HG changeset patch # User heydowns # Date 1195268661 0 # Node ID 77403dc808cd77118707583e500170e76e54d4b5 # Parent 4127277ac92507484f2f57183841ef5cc51932a4 Call mpegvideo flush routine on h264 flush. Needed in particular to clear last_picture_ptr, next_picture_ptr for proper picture management. Prevents crashes in error concealer following seeks. Fixes Roundup issue 189. diff -r 4127277ac925 -r 77403dc808cd h264.c --- a/h264.c Fri Nov 16 23:15:39 2007 +0000 +++ b/h264.c Sat Nov 17 03:04:21 2007 +0000 @@ -3342,6 +3342,7 @@ if(h->s.current_picture_ptr) h->s.current_picture_ptr->reference= 0; h->s.first_field= 0; + ff_mpeg_flush(avctx); } /**