projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ade8d8b
)
Do not write junk in the end of truncated files. FATE
author
Vitor Sessak
<vitor1001@gmail.com>
Fri, 20 Jun 2008 20:46:07 +0000
(20:46 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Fri, 20 Jun 2008 20:46:07 +0000
(20:46 +0000)
ra144 test will probably need to be updated.
Originally committed as revision 13839 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ra144.c
patch
|
blob
|
history
diff --git
a/libavcodec/ra144.c
b/libavcodec/ra144.c
index
997dfd8
..
142ffc9
100644
(file)
--- a/
libavcodec/ra144.c
+++ b/
libavcodec/ra144.c
@@
-343,6
+343,7
@@
static int ra144_decode_frame(AVCodecContext * avctx,
if(buf_size < 20) {
av_log(avctx, AV_LOG_ERROR,
"Frame too small (%d bytes). Truncated file?\n", buf_size);
+ *data_size = 0;
return buf_size;
}
init_get_bits(&gb, buf, 20 * 8);