[svn] / branches / release-1_0-branch / xvidcore / src / bitstream / bitstream.c Repository:
ViewVC logotype

Diff of /branches/release-1_0-branch/xvidcore/src/bitstream/bitstream.c

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

revision 1445, Sun May 2 10:33:22 2004 UTC revision 1446, Mon May 3 23:28:29 2004 UTC
# Line 20  Line 20 
20   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
21   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22   *   *
23   * $Id: bitstream.c,v 1.42.2.1 2004-05-02 10:33:22 edgomez Exp $   * $Id: bitstream.c,v 1.42.2.2 2004-05-03 23:28:29 edgomez Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 1272  Line 1272 
1272          }          }
1273    
1274          /* xvid id */          /* xvid id */
 #define XVID_ID "XviD" XVID_BS_VERSION  
1275          {          {
1276                  char xvid_id_string[100];                  const char xvid_user_format[] = "XviD%04d%c";
1277                    char xvid_user_data[100];
1278                  if (frame->vop_flags & XVID_VOP_CARTOON)                  sprintf(xvid_user_data,
1279                          sprintf(xvid_id_string, "%sC", XVID_ID);                                  xvid_user_format,
1280                  else                                  XVID_BS_VERSION,
1281                          sprintf(xvid_id_string, "%s", XVID_ID);                                  (frame->vop_flags & XVID_VOP_CARTOON)?'C':'\0');
1282                    BitstreamWriteUserData(bs, xvid_user_data, strlen(xvid_user_data));
                 BitstreamWriteUserData(bs, xvid_id_string, strlen(xvid_id_string));  
1283          }          }
1284  }  }
1285    

Legend:
Removed from v.1445  
changed lines
  Added in v.1446

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