[svn] / branches / dev-api-4 / xvidcore / src / plugins / plugin_2pass2.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/plugins/plugin_2pass2.c

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

revision 1309, Wed Jan 7 13:51:24 2004 UTC revision 1316, Wed Jan 21 06:59:23 2004 UTC
# Line 25  Line 25 
25   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
26   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27   *   *
28   * $Id: plugin_2pass2.c,v 1.1.2.34 2004-01-07 13:51:24 edgomez Exp $   * $Id: plugin_2pass2.c,v 1.1.2.35 2004-01-21 06:59:23 syskin Exp $
29   *   *
30   *****************************************************************************/   *****************************************************************************/
31    
# Line 618  Line 618 
618          if (dbytes > s->length) {          if (dbytes > s->length) {
619                  dbytes = s->length;                  dbytes = s->length;
620          } else          } else
 #endif  
621                  if (dbytes < rc->min_length[s->type-1]) {                  if (dbytes < rc->min_length[s->type-1]) {
622                  dbytes = rc->min_length[s->type-1];                  dbytes = rc->min_length[s->type-1];
623          } else if (dbytes > rc->max_length) {          } else if (dbytes > rc->max_length) {
# Line 630  Line 629 
629                  DPRINTF(XVID_DEBUG_RC,"[xvid rc] -- frame:%d Capped to maximum frame size\n",                  DPRINTF(XVID_DEBUG_RC,"[xvid rc] -- frame:%d Capped to maximum frame size\n",
630                                  data->frame_num);                                  data->frame_num);
631          }          }
632    #endif
633          /*------------------------------------------------------------------------          /*------------------------------------------------------------------------
634           * Desired frame length <-> quantizer mapping           * Desired frame length <-> quantizer mapping
635           *-----------------------------------------------------------------------*/           *-----------------------------------------------------------------------*/

Legend:
Removed from v.1309  
changed lines
  Added in v.1316

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