1
0
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:
Michael Niedermayer 2008-07-24 00:45:18 +00:00
parent b4cf222870
commit a149c1a59f

View File

@ -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 */