diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-28 07:48:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-28 07:49:38 +0200 |
commit | 97f7586cd6a1c3741258d6d70b3cbbbde15b1618 (patch) | |
tree | e2ce5e0dd62a1f2d3e88ec0cf94c3c168303e018 /libavcodec | |
parent | 9c66da517f3e967895ec830dd5b89262b48873d1 (diff) | |
parent | 5f30c6c8ed1f006c1b3a547dfe388f3a4a080e4d (diff) | |
download | ffmpeg-97f7586cd6a1c3741258d6d70b3cbbbde15b1618.tar.gz |
Merge commit '5f30c6c8ed1f006c1b3a547dfe388f3a4a080e4d'
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/smacker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index 99dd6c811a..8dd0f4dbf0 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -730,7 +730,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data, return AVERROR_INVALIDDATA; } pred[1] += sign_extend(h[1].values[res], 8); - *samples8++ = av_clip_uint8(pred[1]); + *samples8++ = pred[1]; } else { if(vlc[0].table) res = get_vlc2(&gb, vlc[0].table, SMKTREE_BITS, 3); @@ -741,7 +741,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data, return AVERROR_INVALIDDATA; } pred[0] += sign_extend(h[0].values[res], 8); - *samples8++ = av_clip_uint8(pred[0]); + *samples8++ = pred[0]; } } } |