Commit 7f94e95d authored by michael's avatar michael

Reset prev_frame_num for idr frames as required by the spec.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14354 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 96111d99
...@@ -3303,6 +3303,7 @@ static void idr(H264Context *h){ ...@@ -3303,6 +3303,7 @@ static void idr(H264Context *h){
h->short_ref[i]= NULL; h->short_ref[i]= NULL;
} }
h->short_ref_count=0; h->short_ref_count=0;
h->prev_frame_num= 0;
} }
/* forget old pics after a seek */ /* forget old pics after a seek */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment