sp5xdec: sanitize return value.
authorNicolas George <nicolas.george@normalesup.org>
Sat, 28 Jul 2012 21:52:50 +0000 (23:52 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Tue, 31 Jul 2012 15:23:32 +0000 (17:23 +0200)
commitb2814b034ee287691a133f11a7443516549f572f
tree0d824449929401b0f17d7f8f59a8158c6202453a
parent7a539e67f4fc1cc6fa664e3ddc91aec26be5c61c
sp5xdec: sanitize return value.

i is the decoded size of a recoded packet, which is larger
than the original packet. Assume that if decoding succeeded,
all the packet was used.
libavcodec/sp5xdec.c