Revision 94aec31f

View differences:

libavcodec/mpeg12.c
1231 1231
{
1232 1232
    Mpeg1Context *s = avctx->priv_data;
1233 1233
    
1234
    s->mpeg_enc_ctx.flags= avctx->flags;
1234 1235
    common_init(&s->mpeg_enc_ctx);
1235 1236

  
1236 1237
    s->header_state = 0xff;
......
1242 1243
    s->repeat_field = 0;
1243 1244
    s->mpeg_enc_ctx.codec_id= avctx->codec->id;
1244 1245
    avctx->mbskip_table= s->mpeg_enc_ctx.mbskip_table;
1245
    s->mpeg_enc_ctx.flags= avctx->flags;
1246 1246
    return 0;
1247 1247
}
1248 1248

  
......
1764 1764
    NULL,
1765 1765
    mpeg_decode_end,
1766 1766
    mpeg_decode_frame,
1767
    CODEC_CAP_DR1,
1767 1768
};

Also available in: Unified diff