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/jpeg2000dec: Initialize ret to avoid warning and make the code more robust
"Fixes" CID1322361 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Michael Niedermayer
10 years ago
parent
9e70475551
commit
a87ada53c3
1 changed files
with
2 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libavcodec/jpeg2000dec.c
+ 2
- 1
libavcodec/jpeg2000dec.c
View File
@@ -1303,7 +1303,8 @@ static int jpeg2000_decode_packets_po_iteration(Jpeg2000DecoderContext *s, Jpeg2
static int jpeg2000_decode_packets(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile)
static int jpeg2000_decode_packets(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile)
{
{
int ret, i;
int ret = AVERROR_BUG;
int i;
int tp_index = 0;
int tp_index = 0;
s->bit_index = 8;
s->bit_index = 8;
Write
Preview
Loading…
Cancel
Save