diff options
Diffstat (limited to 'src/lib/util/avcomp.c')
-rw-r--r-- | src/lib/util/avcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/avcomp.c b/src/lib/util/avcomp.c index 779150e5be0..c42d100d888 100644 --- a/src/lib/util/avcomp.c +++ b/src/lib/util/avcomp.c @@ -633,7 +633,7 @@ static avcomp_error encode_video_lossless(avcomp_state *state, int width, int he huffman_error hufferr; UINT32 outbytes; UINT8 *output; - + /* set up the output; first byte is 0x80 to indicate lossless encoding */ output = dest; *output++ = 0x80; @@ -800,7 +800,7 @@ static avcomp_error decode_video(avcomp_state *state, int width, int height, con /* if the high bit of the first byte is set, we decode losslessly */ if (source[0] & 0x80) return decode_video_lossless(state, width, height, source, complength, dest, dstride, dxor); - else + else return AVCERR_INVALID_DATA; } |