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
4xm: drop unnecessary check
data_size is always >= 0 in this case. CC:
libav-stable@libav.org
Bug-Id: CID 1238788
tags/n2.5
Vittorio Giovara
11 years ago
parent
7c61e4b1a0
commit
0e1ebfebc8
1 changed files
with
0 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
libavcodec/4xm.c
+ 0
- 3
libavcodec/4xm.c
View File
@@ -820,9 +820,6 @@ static int decode_frame(AVCodecContext *avctx, void *data,
const int data_size = buf_size - 20;
CFrameBuffer *cfrm;
if (data_size < 0)
return AVERROR_INVALIDDATA;
id = AV_RL32(buf + 12);
whole_size = AV_RL32(buf + 16);
Write
Preview
Loading…
Cancel
Save