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/huffman: check if map was allocated too
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.6
Paul B Mahol
10 years ago
parent
a5398aa56c
commit
fd6768a4b8
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/huffman.c
+ 1
- 1
libavcodec/huffman.c
View File
@@ -62,7 +62,7 @@ int ff_huff_gen_len_table(uint8_t *dst, const uint64_t *stats, int stats_size, i
int size = 0;
int size = 0;
int ret = 0;
int ret = 0;
if (!h || !up || !len) {
if (!h || !up || !len
|| !map
) {
ret = AVERROR(ENOMEM);
ret = AVERROR(ENOMEM);
goto end;
goto end;
}
}
Write
Preview
Loading…
Cancel
Save