pombreda / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

ctrl-c ctrl-v and as result strange code #501

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
strange code in vp8/vp8_cx_iface.c:750

static vpx_codec_err_t vp8e_encode(vpx_codec_alg_priv_t  *ctx,
                                   const vpx_image_t     *img,
                                   vpx_codec_pts_t        pts,
                                   unsigned long          duration,
                                   vpx_enc_frame_flags_t  flags,
                                   unsigned long          deadline)
{
    vpx_codec_err_t res = VPX_CODEC_OK;

    if (!ctx->cfg.rc_target_bitrate)         <--  ctrl-c
        return res;

    if (!ctx->cfg.rc_target_bitrate)         <--  ctrl-v
        return res;

or may be merge problem

this problem in master but not in v1.1.0

Original issue reported on code.google.com by andrey.m...@itseez.com on 4 Nov 2012 at 1:56

GoogleCodeExporter commented 9 years ago

Original comment by albe...@google.com on 17 Jan 2013 at 11:27