[svn] / branches / dev-api-3 / xvidcore / src / bitstream / bitstream.c Repository:
ViewVC logotype

Diff of /branches/dev-api-3/xvidcore/src/bitstream/bitstream.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 757, Fri Jan 3 12:45:30 2003 UTC revision 758, Fri Jan 3 16:25:14 2003 UTC
# Line 472  Line 472 
472                          if (BitstreamGetBit(bs))        // is_visual_object_identified                          if (BitstreamGetBit(bs))        // is_visual_object_identified
473                          {                          {
474                                  visobj_ver_id = BitstreamGetBits(bs, 4);        // visual_object_ver_id                                  visobj_ver_id = BitstreamGetBits(bs, 4);        // visual_object_ver_id
475                                  DPRINTF(DPRINTF_HEADER,"ver_id %i", vol_ver_id);                                  DPRINTF(DPRINTF_HEADER,"visobj_ver_id %i", visobj_ver_id);
476                                  BitstreamSkip(bs, 3);   // visual_object_priority                                  BitstreamSkip(bs, 3);   // visual_object_priority
477                          } else {                          } else {
478                                  visobj_ver_id = 1;                                  visobj_ver_id = 1;
# Line 1255  Line 1255 
1255    
1256          BitstreamPutBit(bs, 0);         // scalability          BitstreamPutBit(bs, 0);         // scalability
1257    
1258            /* fake divx5 id, to ensure compatibility with divx5 decoder */
1259    #define DIVX5_ID "DivX501b481p"
1260            if (pParam->max_bframes > 0 && (pParam->global & XVID_GLOBAL_PACKED)) {
1261                    BitstreamWriteUserData(bs, DIVX5_ID, strlen(DIVX5_ID));
1262            }
1263    
1264            /* xvid id */
1265    #define XVID_ID "XviD" XVID_BS_VERSION
1266            BitstreamWriteUserData(bs, XVID_ID, strlen(XVID_ID));
1267  }  }
1268    
1269    

Legend:
Removed from v.757  
changed lines
  Added in v.758

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4