]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wmaprodec.c
ratecontrol: Drop commented out cruft
[ffmpeg] / libavcodec / wmaprodec.c
index 46710c54ae12b40318a8730d526f8c9db6a81b75..daeaa79a7b0e89952f3ec29da389e94e0b689b9d 100644 (file)
@@ -1145,7 +1145,7 @@ static int decode_subframe(WMAProDecodeCtx *s)
         int num_fill_bits;
         if (!(num_fill_bits = get_bits(&s->gb, 2))) {
             int len = get_bits(&s->gb, 4);
-            num_fill_bits = get_bits(&s->gb, len) + 1;
+            num_fill_bits = get_bitsz(&s->gb, len) + 1;
         }
 
         if (num_fill_bits >= 0) {
@@ -1455,7 +1455,7 @@ static void save_bits(WMAProDecodeCtx *s, GetBitContext* gb, int len,
     int buflen;
 
     /** when the frame data does not need to be concatenated, the input buffer
-        is resetted and additional bits from the previous frame are copyed
+        is reset and additional bits from the previous frame are copied
         and skipped later so that a fast byte copy is possible */
 
     if (!append) {