diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-04 16:49:17 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-04 16:49:17 +0100 |
commit | 7ccc0ed6a0cedbe80443779a805ec90335cd832f (patch) | |
tree | 56624493c1c41dc6931bde25b00f90511678fc5c | |
parent | 144da7eeca9c54691cca8744cdb7ee7cabe1abfb (diff) | |
download | ffmpeg-7ccc0ed6a0cedbe80443779a805ec90335cd832f.tar.gz |
nutdec: print error on invalid/unsupported fourcc style
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/nutdec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index f260a3e4fd..90afbdb925 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -73,8 +73,10 @@ static uint64_t get_fourcc(AVIOContext *bc) return avio_rl16(bc); else if (len == 4) return avio_rl32(bc); - else + else { + av_log(NULL, AV_LOG_ERROR, "Unsupported fourcc length %d\n", len); return -1; + } } #ifdef TRACE |