X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=bitstream.c;h=1139edc0d01dfe3668906f747809e0bfb055c18e;hp=f0f6012c84a1e4df95b7293f4b1c1459f937e275;hb=53077ea78f01e197e84529ae42558af5c3a68429;hpb=5f440e02ddea20370917c67cc5ea71cedbbfabbc diff --git a/bitstream.c b/bitstream.c index f0f6012c..1139edc0 100644 --- a/bitstream.c +++ b/bitstream.c @@ -203,5 +203,5 @@ int get_vlc(struct getbit_context *gbc, VLC_TYPE(*table)[2], int bits, } } skip_bits(gbc, n); - return code; + return code >= 0? code : -E_VLC; }