diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-31 14:20:23 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-31 20:09:54 +0200 |
commit | da0a670b3c3eaa1e700cd54342dc609d7474af26 (patch) | |
tree | e0e54f6580aa2018db390a75e03cc18e59b68b71 /libavcodec/flvdec.c | |
parent | 3efc174fd6f4f5186ed05a307aab58a4ac6db90a (diff) | |
download | ffmpeg-da0a670b3c3eaa1e700cd54342dc609d7474af26.tar.gz |
h261, h263 decoders: convert to RL_VLC.
Some additional optimizations in following patch.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/flvdec.c')
-rw-r--r-- | libavcodec/flvdec.c | 12 |
1 files changed, 0 insertions, 12 deletions
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; |