Commit ba25c2ba authored by kostya's avatar kostya

Print a warning when DATA chunk is encountered in the middle of chunk.

From multirate RM patch by Ronald S. Bultje



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21392 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6dd589e3
......@@ -562,6 +562,9 @@ static int sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stream_
if(len<0)
continue;
goto skip;
} else if (state == MKBETAG('D','A','T','A')) {
av_log(s, AV_LOG_WARNING,
"DATA tag in middle of chunk, file may be broken.\n");
}
if(state > (unsigned)0xFFFF || state <= 12)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment