On 01/23/2013 09:33 AM, Vladimir Pantelic wrote:
> +    if( p->buf[ofs] == 0xFF && p->buf[ofs + 1] == 0xD8) {
> +av_log(NULL, AV_LOG_ERROR, "mjpeg_probe FFD8\n");
> +        return AVPROBE_SCORE_MAX;
> +    }
> +    return 0;

I have a feeling this part would lead to some false positives. The
probing is very sensitive in this regard. Since it's just checking 2
bytes, maybe it would be ok if it returns a lower score.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to