put_bits(&s->pb, 8, 0);  put_bits(&s->pb, 8, 63);
put_bits(&s->pb, 8, lossless ? s->avctx->prediction_method+1 : 0);  put_bits(&s->pb, 8, lossless ? 0 : 63);
void mjpeg_picture_header(MpegEncContext *s){    put_marker(&s->pb, SOI);    if (!s->mjpeg_data_only_frames)    {    jpeg_put_comments(s);        if (s->mjpeg_write_tables) jpeg_table_header(s);    put_marker(&s->pb, SOF0);    put_bits(&s->pb, 16, 17);    put_bits(&s->pb, 8, 8); /* 8 bits/component */    put_bits(&s->pb, 16, s->height);    put_bits(&s->pb, 16, s->width);    put_bits(&s->pb, 8, 3); /* 3 components */        /* Y component */    put_bits(&s->pb, 8, 1); /* component number */    put_bits(&s->pb, 4, s->mjpeg_hsample[0]); /* H factor */    put_bits(&s->pb, 4, s->mjpeg_vsample[0]); /* V factor */    put_bits(&s->pb, 8, 0); /* select matrix */        /* Cb component */    put_bits(&s->pb, 8, 2); /* component number */    put_bits(&s->pb, 4, s->mjpeg_hsample[1]); /* H factor */    put_bits(&s->pb, 4, s->mjpeg_vsample[1]); /* V factor */#ifdef TWOMATRIXES    put_bits(&s->pb, 8, 1); /* select matrix */#else    put_bits(&s->pb, 8, 0); /* select matrix */#endif    /* Cr component */    put_bits(&s->pb, 8, 3); /* component number */    put_bits(&s->pb, 4, s->mjpeg_hsample[2]); /* H factor */    put_bits(&s->pb, 4, s->mjpeg_vsample[2]); /* V factor */#ifdef TWOMATRIXES    put_bits(&s->pb, 8, 1); /* select matrix */#else    put_bits(&s->pb, 8, 0); /* select matrix */#endif    }    /* scan header */    put_marker(&s->pb, SOS);    put_bits(&s->pb, 16, 12); /* length */    put_bits(&s->pb, 8, 3); /* 3 components */        /* Y component */    put_bits(&s->pb, 8, 1); /* index */    put_bits(&s->pb, 4, 0); /* DC huffman table index */    put_bits(&s->pb, 4, 0); /* AC huffman table index */        /* Cb component */    put_bits(&s->pb, 8, 2); /* index */    put_bits(&s->pb, 4, 1); /* DC huffman table index */    put_bits(&s->pb, 4, 1); /* AC huffman table index */        /* Cr component */    put_bits(&s->pb, 8, 3); /* index */    put_bits(&s->pb, 4, 1); /* DC huffman table index */    put_bits(&s->pb, 4, 1); /* AC huffman table index */    put_bits(&s->pb, 8, 0); /* Ss (not used) */    put_bits(&s->pb, 8, 63); /* Se (not used) */    put_bits(&s->pb, 8, 0); /* Ah/Al (not used) */}