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

Diff of /trunk/xvidcore/vfw/src/codec.c

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

revision 1952, Wed Feb 16 19:04:39 2011 UTC revision 2140, Tue Sep 27 16:09:30 2016 UTC
# Line 19  Line 19 
19   *      along with this program; if not, write to the Free Software   *      along with this program; if not, write to the Free Software
20   *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.   *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21   *   *
22   * $Id: codec.c,v 1.33 2011-02-16 18:59:45 Isibaar Exp $   * $Id$
23   *   *
24   *************************************************************************/   *************************************************************************/
25    
# Line 159  Line 159 
159                  return ICERR_BADFORMAT;                  return ICERR_BADFORMAT;
160          }          }
161    
162            if ((inhdr->biWidth % 4) || (inhdr->biHeight % 4))
163            {
164                    return ICERR_BADFORMAT;
165            }
166    
167          if (lpbiOutput == NULL)          if (lpbiOutput == NULL)
168          {          {
169                  return ICERR_OK;                  return ICERR_OK;
# Line 560  Line 565 
565                  create.num_plugins++;                  create.num_plugins++;
566          }          }
567    
568            if (codec->config.debug > 0) {
569          plugins[create.num_plugins].func = vfw_debug;          plugins[create.num_plugins].func = vfw_debug;
570          plugins[create.num_plugins].param = NULL;          plugins[create.num_plugins].param = NULL;
571          create.num_plugins++;          create.num_plugins++;
572            }
573    
574          create.profile = profiles[codec->config.profile].id;          create.profile = profiles[codec->config.profile].id;
575    

Legend:
Removed from v.1952  
changed lines
  Added in v.2140

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