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
sgidec: simplify return path
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.1
Paul B Mahol
12 years ago
parent
e8023dbaf0
commit
5efa5103b0
1 changed files
with
4 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-6
libavcodec/sgidec.c
+ 4
- 6
libavcodec/sgidec.c
View File
@@ -223,13 +223,11 @@ static int decode_frame(AVCodecContext *avctx,
} else {
ret = read_uncompressed_sgi(out_buf, s);
}
if (ret == 0) {
*got_frame = 1;
return avpkt->size;
} else {
if (ret)
return ret;
}
*got_frame = 1;
return avpkt->size;
}
AVCodec ff_sgi_decoder = {
Write
Preview
Loading…
Cancel
Save