fprintf(stderr, "pb frame not supported\n");
av_log(s->avctx, AV_LOG_ERROR, "pb frame not supported\n");
static int rv10_decode_picture_header(MpegEncContext *s){    int mb_count, pb_frame, marker, full_frame, unk;        full_frame= s->avctx->slice_count==1;//printf("ff:%d\n", full_frame);    marker = get_bits(&s->gb, 1);    if (get_bits(&s->gb, 1))        s->pict_type = P_TYPE;    else        s->pict_type = I_TYPE;//printf("h:%X ver:%d\n",h,s->rv10_version);    if(!marker) printf("marker missing\n");    pb_frame = get_bits(&s->gb, 1);#ifdef DEBUG    printf("pict_type=%d pb_frame=%d\n", s->pict_type, pb_frame);#endif        if (pb_frame){        fprintf(stderr, "pb frame not supported\n");        return -1;    }    s->qscale = get_bits(&s->gb, 5);    if(s->qscale==0){        fprintf(stderr, "error, qscale:0\n");        return -1;    }    if (s->pict_type == I_TYPE) {        if (s->rv10_version == 3) {            /* specific MPEG like DC coding not used */            s->last_dc[0] = get_bits(&s->gb, 8);            s->last_dc[1] = get_bits(&s->gb, 8);            s->last_dc[2] = get_bits(&s->gb, 8);#ifdef DEBUG            printf("DC:%d %d %d\n",                   s->last_dc[0],                   s->last_dc[1],                   s->last_dc[2]);#endif        }    }    /* if multiple packets per frame are sent, the position at which       to display the macro blocks is coded here */    if ((!full_frame) || show_bits(&s->gb, 12)==0) {        s->mb_x = get_bits(&s->gb, 6);	/* mb_x */        s->mb_y = get_bits(&s->gb, 6);	/* mb_y */        mb_count = get_bits(&s->gb, 12);    } else {        s->mb_x = 0;        s->mb_y = 0;        mb_count = s->mb_width * s->mb_height;    }    unk= get_bits(&s->gb, 3);	/* ignored *///printf("%d\n", unk);    s->f_code = 1;    s->unrestricted_mv = 1;    return mb_count;}