Revision ce5e49b0 libavcodec/flvdec.c

View differences:

libavcodec/flvdec.c
88 88
    s->width = width;
89 89
    s->height = height;
90 90

  
91
    s->pict_type = FF_I_TYPE + get_bits(&s->gb, 2);
92
    s->dropable= s->pict_type > FF_P_TYPE;
91
    s->pict_type = AV_PICTURE_TYPE_I + get_bits(&s->gb, 2);
92
    s->dropable= s->pict_type > AV_PICTURE_TYPE_P;
93 93
    if (s->dropable)
94
        s->pict_type = FF_P_TYPE;
94
        s->pict_type = AV_PICTURE_TYPE_P;
95 95

  
96 96
    skip_bits1(&s->gb); /* deblocking flag */
97 97
    s->chroma_qscale= s->qscale = get_bits(&s->gb, 5);

Also available in: Unified diff