X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fh261.c;h=01abfadcdafd03410c034db930e0c69164df53ee;hb=6e30b35b85b81c802e52a1078ec7a3097e353c6d;hp=47bad4e57ff87e99e8815b8230a27a25ec4da8ca;hpb=f32d2939555706365ad1d39aadd5ee7ce1d9fa4f;p=ffmpeg diff --git a/libavcodec/h261.c b/libavcodec/h261.c index 47bad4e57ff..01abfadcdaf 100644 --- a/libavcodec/h261.c +++ b/libavcodec/h261.c @@ -30,8 +30,6 @@ #define IS_FIL(a) ((a) & MB_TYPE_H261_FIL) -uint8_t ff_h261_rl_table_store[2][2 * MAX_RUN + MAX_LEVEL + 3]; - static void h261_loop_filter(uint8_t *src, int stride) { int x, y, xy, yz; @@ -79,14 +77,3 @@ void ff_h261_loop_filter(MpegEncContext *s) h261_loop_filter(dest_cb, uvlinesize); h261_loop_filter(dest_cr, uvlinesize); } - -av_cold void ff_h261_common_init(void) -{ - static int done = 0; - - if (done) - return; - - ff_rl_init(&ff_h261_rl_tcoeff, ff_h261_rl_table_store); - done = 1; -}