Mercurial > libavformat.hg
diff rmdec.c @ 5579:e5752e0e373d libavformat
Print a warning when DATA chunk is encountered in the middle of chunk.
From multirate RM patch by Ronald S. Bultje
author | kostya |
---|---|
date | Sat, 23 Jan 2010 09:42:52 +0000 |
parents | 5ebeb34e4456 |
children | f8093c5208f6 |
line wrap: on
line diff
--- a/rmdec.c Fri Jan 22 23:16:23 2010 +0000 +++ b/rmdec.c Sat Jan 23 09:42:52 2010 +0000 @@ -562,6 +562,9 @@ 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)