Revision df211c3a

View differences:

libavcodec/dvbsub.c
223 223
    else
224 224
        page_state = 2; /* mode change */
225 225
    /* page_version = 0 + page_state */
226
    *q++ = s->object_version | (page_state << 2) | 3;
226
    *q++ = (s->object_version << 4) | (page_state << 2) | 3;
227 227

  
228 228
    for (region_id = 0; region_id < h->num_rects; region_id++) {
229 229
        *q++ = region_id;

Also available in: Unified diff