From da0a670b3c3eaa1e700cd54342dc609d7474af26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger@gmx.de> Date: Sun, 31 Aug 2014 14:20:23 +0200 Subject: h261, h263 decoders: convert to RL_VLC. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some additional optimizations in following patch. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> --- libavcodec/flvdec.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'libavcodec/flvdec.c') diff --git a/libavcodec/flvdec.c b/libavcodec/flvdec.c index 3b048f666d..db413f21f2 100644 --- a/libavcodec/flvdec.c +++ b/libavcodec/flvdec.c @@ -22,18 +22,6 @@ #include "flv.h" #include "libavutil/imgutils.h" -void ff_flv2_decode_ac_esc(GetBitContext *gb, int *level, int *run, int *last) -{ - int is11 = get_bits1(gb); - *last = get_bits1(gb); - *run = get_bits(gb, 6); - if (is11) { - *level = get_sbits(gb, 11); - } else { - *level = get_sbits(gb, 7); - } -} - int ff_flv_decode_picture_header(MpegEncContext *s) { int format, width, height; -- cgit v1.2.3