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:
47a11ff
)
lavc/fic: Do not warn about empty cursor.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sun, 1 May 2016 13:30:22 +0000
(15:30 +0200)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sun, 1 May 2016 13:30:22 +0000
(15:30 +0200)
Fixes ticket #5174.
libavcodec/fic.c
patch
|
blob
|
history
diff --git
a/libavcodec/fic.c
b/libavcodec/fic.c
index
6a2b5d6
..
d3952a4
100644
(file)
--- a/
libavcodec/fic.c
+++ b/
libavcodec/fic.c
@@
-309,7
+309,7
@@
static int fic_decode_frame(AVCodecContext *avctx, void *data,
return AVERROR_INVALIDDATA;
}
- if (!tsize)
+ if (!tsize
|| !AV_RL16(src + 37) || !AV_RL16(src + 39)
)
skip_cursor = 1;
if (!skip_cursor && tsize < 32) {