> @@ -2334,8 +2328,6 @@ int av_find_stream_info(AVFormatContext *ic)
>
> for (j=1; j<FF_ARRAY_ELEMS(st->info->duration_error); j++) {
> double error = st->info->duration_error[j] *
> get_std_framerate(j);
> -// if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO)
> -// av_log(NULL, AV_LOG_ERROR, "%f %f\n",
> get_std_framerate(j) / 12.0/1001, error);
> if(error < best_error){
> best_error= error;
> num = get_std_framerate(j);
I used this today!
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel