Mercurial > libavcodec.hg
comparison mpeg12.c @ 885:35d28522a1c5 libavcodec
moving init of some variables (hurry_up,...) to MPV_frame_start()
author | michaelni |
---|---|
date | Sat, 23 Nov 2002 09:12:57 +0000 |
parents | 9d50cf6d6361 |
children | 653d9419ea01 |
comparison
equal
deleted
inserted
replaced
884:2cef5c4c0ca6 | 885:35d28522a1c5 |
---|---|
1913 mpeg_decode_extension(avctx, | 1913 mpeg_decode_extension(avctx, |
1914 s->buffer, input_size); | 1914 s->buffer, input_size); |
1915 break; | 1915 break; |
1916 default: | 1916 default: |
1917 if (start_code >= SLICE_MIN_START_CODE && | 1917 if (start_code >= SLICE_MIN_START_CODE && |
1918 start_code <= SLICE_MAX_START_CODE && s2->avctx->hurry_up<5) { | 1918 start_code <= SLICE_MAX_START_CODE && avctx->hurry_up<5) { |
1919 ret = mpeg_decode_slice(avctx, picture, | 1919 ret = mpeg_decode_slice(avctx, picture, |
1920 start_code, s->buffer, input_size); | 1920 start_code, s->buffer, input_size); |
1921 if (ret == DECODE_SLICE_EOP) { | 1921 if (ret == DECODE_SLICE_EOP) { |
1922 /* got a picture: exit */ | 1922 /* got a picture: exit */ |
1923 /* first check if we must repeat the frame */ | 1923 /* first check if we must repeat the frame */ |