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: fix uninitialized variable read
This cna happen if the user tries to call the new decode API for subtitles. Fixes CID 1402071.
tags/n3.3
wm4
9 years ago
parent
1cd58e9154
commit
b4b8ca24f6
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/utils.c
+ 1
- 1
libavcodec/utils.c
View File
@@ -2787,7 +2787,7 @@ void avsubtitle_free(AVSubtitle *sub)
static int do_decode(AVCodecContext *avctx, AVPacket *pkt)
{
int got_frame;
int got_frame
= 0
;
int ret;
av_assert0(!avctx->internal->buffer_frame->buf[0]);
Write
Preview
Loading…
Cancel
Save