aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-11-02 18:47:51 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-02 18:47:51 +0000
commit9f9c322930d4b6758c5f24426405d5017d9bd168 (patch)
tree99e208a9815b49c0f85612a487c12316f2f6f5d6 /libavcodec/h263dec.c
parent326d40af06bab832aea01ed2e12e8a869939eec8 (diff)
downloadffmpeg-9f9c322930d4b6758c5f24426405d5017d9bd168.tar.gz
support forcing low_delay during decoding
Originally committed as revision 1150 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 676df6e314..490a5d7638 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -351,6 +351,9 @@ retry:
}
ret = ff_mpeg4_decode_picture_header(s, &s->gb);
+ if(s->flags& CODEC_FLAG_LOW_DELAY)
+ s->low_delay=1;
+
s->has_b_frames= !s->low_delay;
} else if (s->h263_intel) {
ret = intel_h263_decode_picture_header(s);