diff options
author | 2008-08-19 07:31:55 +0000 | |
---|---|---|
committer | 2008-08-19 07:31:55 +0000 | |
commit | 0523e9feb79119cdb1d1f0077afb243e90087d3c (patch) | |
tree | 04f5b8921940bd9ac80982addedf5a56bc4d4b0e /src/lib/util/avcomp.c | |
parent | e959018aa8ee0964e0a59de3378a39da6e08e016 (diff) |
Cleanups and version bump.mame0127
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; } |