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
mxfdec: reduce loop bound in mxf_read_pixel_layout()
Makes coverity less confused and code more readable. Bug-Id: CID 732262
tags/n2.5
Tomas Härdin
Vittorio Giovara
11 years ago
parent
e6c66f1e4e
commit
11467ecf51
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/mxfdec.c
+ 1
- 1
libavformat/mxfdec.c
View File
@@ -816,7 +816,7 @@ static void mxf_read_pixel_layout(AVIOContext *pb, MXFDescriptor *descriptor)
value = avio_r8(pb);
av_dlog(NULL, "pixel layout: code %#x\n", code);
if (ofs <
16
) {
if (ofs <
= 14
) {
layout[ofs++] = code;
layout[ofs++] = value;
}
Write
Preview
Loading…
Cancel
Save