summaryrefslogtreecommitdiff
path: root/libavcodec/metasound.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-25 17:23:13 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-25 17:24:07 +0200
commitcbb7f56dfeb15c150df20109c3847bf677ad316f (patch)
treeeb5dcc3d2e6fbdc8a49398bffbc4c81c786719a2 /libavcodec/metasound.c
parentf5dae4894d1078ac8a56026e9ad55c2f0575ce1e (diff)
metasound & twinvqdec: return the number of read bytes from read_bitstream
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/metasound.c')
-rw-r--r--libavcodec/metasound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/metasound.c b/libavcodec/metasound.c
index 9cda336904..5c65f038d5 100644
--- a/libavcodec/metasound.c
+++ b/libavcodec/metasound.c
@@ -226,7 +226,7 @@ static int metasound_read_bitstream(AVCodecContext *avctx, TwinVQContext *tctx,
}
}
- return 0;
+ return (get_bits_count(&gb) + 7) / 8;
}
typedef struct MetasoundProps {