Revision 7604246d libavcodec/mpeg12.c

View differences:

libavcodec/mpeg12.c
325 325
    s->c_dc_scale_table= ff_mpeg1_dc_scale_table;
326 326
}
327 327

  
328
#ifdef CONFIG_ENCODERS
328 329
void mpeg1_encode_picture_header(MpegEncContext *s, int picture_number)
329 330
{
330 331
    mpeg1_encode_sequence_header(s);
......
511 512
                else
512 513
                    {    // No coded bloc pattern
513 514
                    if (s->mv_dir == (MV_DIR_FORWARD | MV_DIR_BACKWARD))
514
                        {    // Bi-directional motion
515
                        {    // Bi-directional motion 
515 516
                        put_bits(&s->pb, 2, 2); /* backward & forward motion */
516 517
                        mpeg1_encode_motion(s, s->mv[0][0][0] - s->last_mv[0][0][0], s->f_code);
517 518
                        mpeg1_encode_motion(s, s->mv[0][0][1] - s->last_mv[0][0][1], s->f_code);
......
792 793
    /* end of block */
793 794
    put_bits(&s->pb, 2, 0x2);
794 795
}
796
#endif //CONFIG_ENCODERS
795 797

  
796 798
/******************************************/
797 799
/* decoding */

Also available in: Unified diff