[FFmpeg-cvslog] h264: Workaround invalid MPEG-TS broadcasts
Joakim Plate
elupus at ecce.se
Mon Aug 20 15:42:46 CEST 2012
>
> + if (h->sei_recovery_frame_cnt >= 0 && (h->frame_num != h-
>sei_recovery_frame_cnt ||
> hx->slice_type_nos != AV_PICTURE_TYPE_I))
> + h->valid_recovery_point++;
> +
> if ( h->sei_recovery_frame_cnt >= 0
Shouldn't this be reset to zero at some point, like at flush? I suppose 2million
recovery frames is not likely, but it feels wrong to never reset it to zero.
/Joakim
More information about the ffmpeg-cvslog
mailing list