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
exr: use buf_size instead of recalculating same value
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n1.0
Paul B Mahol
13 years ago
parent
1d890ec849
commit
dc0d551b52
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/exr.c
+ 1
- 1
libavcodec/exr.c
View File
@@ -173,7 +173,7 @@ static int decode_frame(AVCodecContext *avctx,
s->channel_offsets[3] = -1;
s->bits_per_color_id = -1;
if (buf_e
nd - buf
< 10) {
if (buf_
siz
e < 10) {
av_log(avctx, AV_LOG_ERROR, "Too short header to parse\n");
return -1;
}
Write
Preview
Loading…
Cancel
Save