mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Print a warning when DATA chunk is encountered in the middle of chunk.
From multirate RM patch by Ronald S. Bultje Originally committed as revision 21392 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a7e6328cba
commit
98287358e9
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue