[FFmpeg-devel] [RFC] special "broken DV" demuxer

Reimar Döffinger Reimar.Doeffinger
Tue Mar 10 09:57:32 CET 2009


On Tue, Mar 10, 2009 at 09:54:56AM +0100, Reimar D?ffinger wrote:
> @@ -486,6 +492,8 @@
>      for (i = 4; i < p->buf_size; i++) {
>          if ((state & 0xffffff7f) == 0x1f07003f)
>              return AVPROBE_SCORE_MAX*3/4; // not max to avoid dv in mov to match
> +        if (i >= 0x54 && (state & 0xffffff80) == 0x3f070080)
> +            return AVPROBE_SCORE_MAX/4; // 17 bits are not really reliable

I meant 25 instead of 17 here. That's still something that risks appearing by chance
though.




More information about the ffmpeg-devel mailing list