OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
144da7e
)
nutdec: print error on invalid/unsupported fourcc style
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 4 Mar 2013 15:49:17 +0000
(16:49 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 4 Mar 2013 15:49:17 +0000
(16:49 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/nutdec.c
patch
|
blob
|
history
diff --git
a/libavformat/nutdec.c
b/libavformat/nutdec.c
index
f260a3e
..
90afbdb
100644
(file)
--- 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