Revision 9f9c3229

View differences:

libavcodec/avcodec.h
132 132
                                                allows the last part of a frame to be decoded earlier */
133 133
#define CODEC_FLAG_NORMALIZE_AQP  0x00020000 /* normalize adaptive quantization */
134 134
#define CODEC_FLAG_INTERLACED_DCT 0x00040000 /* use interlaced dct */
135
#define CODEC_FLAG_LOW_DELAY      0x00080000 /* force low delay / will fail on b frames */
135 136

  
136 137
/* codec capabilities */
137 138

  
libavcodec/h263dec.c
351 351
        }
352 352
        ret = ff_mpeg4_decode_picture_header(s, &s->gb);
353 353

  
354
        if(s->flags& CODEC_FLAG_LOW_DELAY)
355
            s->low_delay=1;
356

  
354 357
        s->has_b_frames= !s->low_delay;
355 358
    } else if (s->h263_intel) {
356 359
        ret = intel_h263_decode_picture_header(s);

Also available in: Unified diff