vlc | branch: master | Tristan Matthews <[email protected]> | Mon Nov 25 03:03:00 2013 +0000| [16e9999966c12f696de57b0e7e5c0f39d7b0f621] | committer: Tristan Matthews
flac: fix extradata clamping check > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=16e9999966c12f696de57b0e7e5c0f39d7b0f621 --- modules/codec/flac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/flac.c b/modules/codec/flac.c index 72a12bc..a43983a 100644 --- a/modules/codec/flac.c +++ b/modules/codec/flac.c @@ -389,7 +389,7 @@ static void ProcessHeader( decoder_t *p_dec ) if (i_extra > 42 && !memcmp(p_dec->fmt_in.p_extra, header, 4)) i_extra = 42; - else if (i_extra > 34 && memcmp(p_dec->fmt_in.p_extra, header, 4)) + else if (i_extra > 34 && !memcmp(p_dec->fmt_in.p_extra, header, 4)) i_extra = 34; switch (i_extra) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
