mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Reset prev_frame_num for idr frames as required by the spec.
Originally committed as revision 14354 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b4cf222870
commit
a149c1a59f
@ -3303,6 +3303,7 @@ static void idr(H264Context *h){
|
||||
h->short_ref[i]= NULL;
|
||||
}
|
||||
h->short_ref_count=0;
|
||||
h->prev_frame_num= 0;
|
||||
}
|
||||
|
||||
/* forget old pics after a seek */
|
||||
|
Loading…
x
Reference in New Issue
Block a user