changeset 7349:ee0fa5935e1a libavcodec

Reset frame_num for MMCO 5. Fixes at least MR2_TANDBERG_E.264
author michael
date Tue, 22 Jul 2008 19:30:45 +0000
parents 39e5cadcebab
children 5c45da72279e
files h264.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Tue Jul 22 17:44:36 2008 +0000
+++ b/h264.c	Tue Jul 22 19:30:45 2008 +0000
@@ -3539,6 +3539,7 @@
                 pic= remove_long(h, j);
                 if(pic) unreference_pic(h, pic, 0);
             }
+            s->current_picture_ptr->frame_num= 0;
             break;
         default: assert(0);
         }