[FFmpeg-devel] [PATCH] H264 in TS detection

Måns Rullgård mans
Sun Jul 27 23:52:09 CEST 2008


Michael Niedermayer <michaelni at gmx.at> writes:

> Hi
>
> maybeH264_dumpstream 
> (see ftp and [FFmpeg-devel] Unplayable "JVT NAL" sequence)
> Contains a H.264 stream that is missdetected as mpeg1video.
> Patch below fixes it, i intend to apply it in 24h if there are no objections
> from mans.
>
> Index: libavformat/mpegts.c
> ===================================================================
> --- libavformat/mpegts.c	(revision 14235)
> +++ libavformat/mpegts.c	(working copy)
> @@ -970,7 +970,7 @@
>              codec_id = CODEC_ID_AC3;
>          } else {
>              codec_type = CODEC_TYPE_VIDEO;
> -            codec_id = CODEC_ID_MPEG1VIDEO;
> +            codec_id = CODEC_ID_PROBE;
>          }
>          break;
>      }

The patch is OK, but 24 hours really isn't enough time for such an
ultimatum, at least not during weekends.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list