[svn] / trunk / xvidcore / src / bitstream / bitstream.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/bitstream/bitstream.c

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

revision 252, Sun Jun 30 10:46:29 2002 UTC revision 294, Fri Jul 12 00:49:59 2002 UTC
# Line 41  Line 41 
41    *                                                                            *    *                                                                            *
42    *  Revision history:                                                         *    *  Revision history:                                                         *
43    *                                                                            *    *                                                                            *
44    *      22.05.2002 bs_put_matrix fix    *  11.07.2002 add VOP width & height return to dec when dec->width           *
45      *             or dec->height is 0  (for use in examples/ex1.c)               *
46      *             MinChen <chenm001@163.com>                                     *
47      *  22.05.2002 bs_put_matrix fix                                              *
48    *  20.05.2002 added BitstreamWriteUserData                                   *    *  20.05.2002 added BitstreamWriteUserData                                   *
49    *  19.06.2002  Fix a little bug in use custom quant matrix                   *    *  19.06.2002  Fix a little bug in use custom quant matrix                   *
50    *              MinChen <chenm001@163.com>                                    *    *              MinChen <chenm001@163.com>                                    *
# Line 359  Line 362 
362                                          DPRINTF(DPRINTF_HEADER, "width %i", width);                                          DPRINTF(DPRINTF_HEADER, "width %i", width);
363                                          DPRINTF(DPRINTF_HEADER, "height %i", height);                                          DPRINTF(DPRINTF_HEADER, "height %i", height);
364    
365                                            // for auto set width & height
366                                            if (dec->width == 0)
367                                                    dec->width = width;
368                                            if (dec->height == 0)
369                                                    dec->height = height;
370    
371                                          if (width != dec->width || height != dec->height) {                                          if (width != dec->width || height != dec->height) {
372                                                  DPRINTF(DPRINTF_ERROR, "XVID_DEC_PARAM width/height does not match bitstream");                                                  DPRINTF(DPRINTF_ERROR, "XVID_DEC_PARAM width/height does not match bitstream");
373                                                  return -1;                                                  return -1;

Legend:
Removed from v.252  
changed lines
  Added in v.294

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