[cvs] / xvidcore / src / xvid.c Repository:
ViewVC logotype

Diff of /xvidcore/src/xvid.c

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

revision 1.34, Wed Sep 4 22:07:07 2002 UTC revision 1.36, Wed Sep 4 22:08:45 2002 UTC
# Line 28  Line 28 
28   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
29   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
30   *   *
31     * $Id$
32     *
33   ****************************************************************************/   ****************************************************************************/
34    
35  #include "xvid.h"  #include "xvid.h"
# Line 462  Line 464 
464  {  {
465          switch (opt) {          switch (opt) {
466          case XVID_ENC_ENCODE:          case XVID_ENC_ENCODE:
 #ifdef BFRAMES  
                 if (((Encoder *) handle)->mbParam.max_bframes >= 0)  
                 return encoder_encode_bframes((Encoder *) handle, (XVID_ENC_FRAME *) param1,  
                                                           (XVID_ENC_STATS *) param2);  
                 else  
 #endif  
467                  return encoder_encode((Encoder *) handle, (XVID_ENC_FRAME *) param1,                  return encoder_encode((Encoder *) handle, (XVID_ENC_FRAME *) param1,
468                                                            (XVID_ENC_STATS *) param2);                                                            (XVID_ENC_STATS *) param2);
469    

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.36

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