Revision 587d0722

View differences:

libavcodec/8bps.c
155 155
        EightBpsContext * const c = (EightBpsContext *)avctx->priv_data;
156 156

  
157 157
        c->avctx = avctx;
158
        avctx->has_b_frames = 0;
159 158

  
160 159
        c->pic.data[0] = NULL;
161 160

  
libavcodec/cinepak.c
407 407
        avctx->pix_fmt = PIX_FMT_PAL8;
408 408
    }
409 409

  
410
    avctx->has_b_frames = 0;
411 410
    dsputil_init(&s->dsp, avctx);
412 411

  
413 412
    s->frame.data[0] = NULL;
libavcodec/cscd.c
218 218
    if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) {
219 219
        return 1;
220 220
    }
221
    avctx->has_b_frames = 0;
222 221
    switch (avctx->bits_per_sample) {
223 222
        case 16: avctx->pix_fmt = PIX_FMT_RGB555; break;
224 223
        case 24: avctx->pix_fmt = PIX_FMT_BGR24; break;
libavcodec/cyuv.c
58 58
        return -1;
59 59
    s->height = avctx->height;
60 60
    avctx->pix_fmt = PIX_FMT_YUV411P;
61
    avctx->has_b_frames = 0;
62 61

  
63 62
    return 0;
64 63
}
libavcodec/dsicinav.c
93 93

  
94 94
    cin->avctx = avctx;
95 95
    avctx->pix_fmt = PIX_FMT_PAL8;
96
    avctx->has_b_frames = 0;
97 96

  
98 97
    cin->frame.data[0] = NULL;
99 98

  
libavcodec/flashsv.c
95 95
        return 1;
96 96
    }
97 97
    avctx->pix_fmt = PIX_FMT_BGR24;
98
    avctx->has_b_frames = 0;
99 98
    s->frame.data[0] = NULL;
100 99

  
101 100
    return 0;
libavcodec/flicvideo.c
85 85
    int depth;
86 86

  
87 87
    s->avctx = avctx;
88
    avctx->has_b_frames = 0;
89 88

  
90 89
    s->fli_type = AV_RL16(&fli_header[4]); /* Might be overridden if a Magic Carpet FLC */
91 90
    depth       = AV_RL16(&fli_header[12]);
libavcodec/fraps.c
73 73
    FrapsContext * const s = avctx->priv_data;
74 74

  
75 75
    avctx->coded_frame = (AVFrame*)&s->frame;
76
    avctx->has_b_frames = 0;
77 76
    avctx->pix_fmt= PIX_FMT_NONE; /* set in decode_frame */
78 77

  
79 78
    s->avctx = avctx;
libavcodec/idcinvideo.c
155 155

  
156 156
    s->avctx = avctx;
157 157
    avctx->pix_fmt = PIX_FMT_PAL8;
158
    avctx->has_b_frames = 0;
159 158
    dsputil_init(&s->dsp, avctx);
160 159

  
161 160
    /* make sure the Huffman tables make it */
libavcodec/indeo3.c
1066 1066
    s->width = avctx->width;
1067 1067
    s->height = avctx->height;
1068 1068
    avctx->pix_fmt = PIX_FMT_YUV410P;
1069
    avctx->has_b_frames = 0;
1070 1069

  
1071 1070
    build_modpred(s);
1072 1071
    iv_alloc_frames(s);
libavcodec/interplayvideo.c
865 865
    }
866 866

  
867 867
    avctx->pix_fmt = PIX_FMT_PAL8;
868
    avctx->has_b_frames = 0;
869 868
    dsputil_init(&s->dsp, avctx);
870 869

  
871 870
    /* decoding map contains 4 bits of information per 8x8 block */
libavcodec/lcl.c
624 624
    int zret; // Zlib return code
625 625

  
626 626
    c->avctx = avctx;
627
    avctx->has_b_frames = 0;
628 627

  
629 628
    c->pic.data[0] = NULL;
630 629

  
libavcodec/mmvideo.c
59 59
    }
60 60

  
61 61
    avctx->pix_fmt = PIX_FMT_PAL8;
62
    avctx->has_b_frames = 0;
63 62

  
64 63
    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height))
65 64
        return -1;
libavcodec/msrle.c
244 244
    s->avctx = avctx;
245 245

  
246 246
    avctx->pix_fmt = PIX_FMT_PAL8;
247
    avctx->has_b_frames = 0;
248 247
    s->frame.data[0] = NULL;
249 248

  
250 249
    return 0;
libavcodec/msvideo1.c
76 76
        avctx->pix_fmt = PIX_FMT_RGB555;
77 77
    }
78 78

  
79
    avctx->has_b_frames = 0;
80 79
    dsputil_init(&s->dsp, avctx);
81 80

  
82 81
    s->frame.data[0] = NULL;
libavcodec/nuv.c
176 176
    if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) {
177 177
        return 1;
178 178
    }
179
    avctx->has_b_frames = 0;
180 179
    avctx->pix_fmt = PIX_FMT_YUV420P;
181 180
    c->pic.data[0] = NULL;
182 181
    c->width = avctx->width;
libavcodec/qtrle.c
523 523
            avctx->bits_per_sample);
524 524
        break;
525 525
    }
526
    avctx->has_b_frames = 0;
527 526
    dsputil_init(&s->dsp, avctx);
528 527

  
529 528
    s->frame.data[0] = NULL;
libavcodec/roqvideo.c
411 411
    s->last_frame    = &s->frames[0];
412 412
    s->current_frame = &s->frames[1];
413 413
    avctx->pix_fmt = PIX_FMT_YUV420P;
414
    avctx->has_b_frames = 0;
415 414
    dsputil_init(&s->dsp, avctx);
416 415

  
417 416
    uiclp = uiclip+512;
libavcodec/rpza.c
236 236

  
237 237
    s->avctx = avctx;
238 238
    avctx->pix_fmt = PIX_FMT_RGB555;
239
    avctx->has_b_frames = 0;
240 239
    dsputil_init(&s->dsp, avctx);
241 240

  
242 241
    s->frame.data[0] = NULL;
libavcodec/smacker.c
518 518
    SmackVContext * const c = (SmackVContext *)avctx->priv_data;
519 519

  
520 520
    c->avctx = avctx;
521
    avctx->has_b_frames = 0;
522 521

  
523 522
    c->pic.data[0] = NULL;
524 523

  
libavcodec/smc.c
436 436

  
437 437
    s->avctx = avctx;
438 438
    avctx->pix_fmt = PIX_FMT_PAL8;
439
    avctx->has_b_frames = 0;
440 439
    dsputil_init(&s->dsp, avctx);
441 440

  
442 441
    s->frame.data[0] = NULL;
libavcodec/tiertexseqv.c
180 180

  
181 181
    seq->avctx = avctx;
182 182
    avctx->pix_fmt = PIX_FMT_PAL8;
183
    avctx->has_b_frames = 0;
184 183

  
185 184
    seq->frame.data[0] = NULL;
186 185

  
libavcodec/truemotion1.c
475 475
//    else
476 476
//        avctx->pix_fmt = PIX_FMT_RGB555;
477 477

  
478
    avctx->has_b_frames = 0;
479 478
    s->frame.data[0] = s->prev_frame.data[0] = NULL;
480 479

  
481 480
    /* there is a vertical predictor for each pixel in a line; each vertical
libavcodec/vmdav.c
328 328

  
329 329
    s->avctx = avctx;
330 330
    avctx->pix_fmt = PIX_FMT_PAL8;
331
    avctx->has_b_frames = 0;
332 331
    dsputil_init(&s->dsp, avctx);
333 332

  
334 333
    /* make sure the VMD header made it */
libavcodec/vp3.c
1955 1955
    s->width = (avctx->width + 15) & 0xFFFFFFF0;
1956 1956
    s->height = (avctx->height + 15) & 0xFFFFFFF0;
1957 1957
    avctx->pix_fmt = PIX_FMT_YUV420P;
1958
    avctx->has_b_frames = 0;
1959 1958
    if(avctx->idct_algo==FF_IDCT_AUTO)
1960 1959
        avctx->idct_algo=FF_IDCT_VP3;
1961 1960
    dsputil_init(&s->dsp, avctx);
libavcodec/vqavideo.c
139 139

  
140 140
    s->avctx = avctx;
141 141
    avctx->pix_fmt = PIX_FMT_PAL8;
142
    avctx->has_b_frames = 0;
143 142
    dsputil_init(&s->dsp, avctx);
144 143

  
145 144
    /* make sure the extradata made it */
libavcodec/xan.c
70 70
    }
71 71

  
72 72
    avctx->pix_fmt = PIX_FMT_PAL8;
73
    avctx->has_b_frames = 0;
74 73

  
75 74
    if(avcodec_check_dimensions(avctx, avctx->width, avctx->height))
76 75
        return -1;

Also available in: Unified diff