This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/gifdec: check ff_lzw_decode_open() for failure
tags/n4.1
Paul B Mahol
6 years ago
parent
4cfb01d6ae
commit
158043bae8
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/gifdec.c
+ 2
- 0
libavcodec/gifdec.c
View File
@@ -451,6 +451,8 @@ static av_cold int gif_decode_init(AVCodecContext *avctx)
if (!s->frame)
return AVERROR(ENOMEM);
ff_lzw_decode_open(&s->lzw);
if (!s->lzw)
return AVERROR(ENOMEM);
return 0;
}
Write
Preview
Loading…
Cancel
Save