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
pictordec: decode 8bpp images when extra header marker is missing
Fixes ticket
#696
. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Peter Ross
Michael Niedermayer
13 years ago
parent
2d6a45c12a
commit
56f6628bca
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/pictordec.c
+ 1
- 1
libavcodec/pictordec.c
View File
@@ -130,7 +130,7 @@ static int decode_frame(AVCodecContext *avctx,
return AVERROR_INVALIDDATA;
}
if (*buf == 0xFF) {
if (*buf == 0xFF
|| bpp == 8
) {
buf += 2;
etype = bytestream_get_le16(&buf);
esize = bytestream_get_le16(&buf);
Write
Preview
Loading…
Cancel
Save