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:
9ce5f3b
)
crash fix by Carl Eugen Hoyos cehoyos ag.or at
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 24 Jan 2007 11:20:01 +0000
(11:20 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 24 Jan 2007 11:20:01 +0000
(11:20 +0000)
Originally committed as revision 7684 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/svq3.c
patch
|
blob
|
history
diff --git
a/libavcodec/svq3.c
b/libavcodec/svq3.c
index
8c08409
..
e02981e
100644
(file)
--- a/
libavcodec/svq3.c
+++ b/
libavcodec/svq3.c
@@
-910,7
+910,8
@@
static int svq3_decode_frame (AVCodecContext *avctx,
s->next_p_frame_damaged = 0;
}
- frame_start (h);
+ if (frame_start (h) < 0)
+ return -1;
if (s->pict_type == B_TYPE) {
h->frame_num_offset = (h->slice_num - h->prev_frame_num);