Revision ebde2a2c ffmpeg.c

View differences:

ffmpeg.c
2180 2180
    }
2181 2181
}
2182 2182

  
2183
static void opt_bitrate(const char *opt, const char *arg)
2183
static int opt_bitrate(const char *opt, const char *arg)
2184 2184
{
2185 2185
    int codec_type = opt[0]=='a' ? CODEC_TYPE_AUDIO : CODEC_TYPE_VIDEO;
2186 2186

  
......
2188 2188

  
2189 2189
    if (av_get_int(avctx_opts[codec_type], "b", NULL) < 1000)
2190 2190
        fprintf(stderr, "WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s\n");
2191

  
2192
    return 0;
2191 2193
}
2192 2194

  
2193 2195
static void opt_frame_crop_top(const char *arg)
......
3671 3673
    opt_vstats_file(filename);
3672 3674
}
3673 3675

  
3674
static void opt_bsf(const char *opt, const char *arg)
3676
static int opt_bsf(const char *opt, const char *arg)
3675 3677
{
3676 3678
    AVBitStreamFilterContext *bsfc= av_bitstream_filter_init(arg); //FIXME split name and args for filter at '='
3677 3679
    AVBitStreamFilterContext **bsfp;
......
3686 3688
        bsfp= &(*bsfp)->next;
3687 3689

  
3688 3690
    *bsfp= bsfc;
3691

  
3692
    return 0;
3689 3693
}
3690 3694

  
3691 3695
static void opt_show_license(void)

Also available in: Unified diff