diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-10 06:23:12 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-20 18:58:38 +0200 |
commit | fb1acbc94192aa2ba6cc2479bd9b5a8d678cfc31 (patch) | |
tree | fe1cfaca696d3344e1791e6991b7cb93a56b7e93 /libavcodec | |
parent | 89a0cec7903da5dceb2bd027d16a82773146e35a (diff) | |
download | ffmpeg-fb1acbc94192aa2ba6cc2479bd9b5a8d678cfc31.tar.gz |
avcodec/h261dec: Don't reset gob_start_code_skipped in h261_decode_init()
It always gets reset at the start of h261_decode_frame().
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h261dec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c index be285ce5e9..8671800c3e 100644 --- a/libavcodec/h261dec.c +++ b/libavcodec/h261dec.c @@ -97,8 +97,6 @@ static av_cold int h261_decode_init(AVCodecContext *avctx) s->low_delay = 1; avctx->pix_fmt = AV_PIX_FMT_YUV420P; - h->gob_start_code_skipped = 0; - ff_thread_once(&init_static_once, h261_decode_init_static); return 0; |