Commit 61c6e697 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'c92965db'

* commit 'c92965db':
  avconv: check return value

Conflicts:
	ffmpeg.c

See: 4930cd13Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 1dd38e99 c92965db
......@@ -2887,10 +2887,11 @@ static int transcode_init(void)
av_log(NULL, AV_LOG_WARNING, "The bitrate parameter is set too low."
" It takes bits/s as argument, not kbits/s\n");
} else {
if (av_opt_set_dict(ost->enc_ctx, &ost->encoder_opts) < 0) {
ret = av_opt_set_dict(ost->enc_ctx, &ost->encoder_opts);
if (ret < 0) {
av_log(NULL, AV_LOG_FATAL,
"Error setting up codec context options.\n");
exit_program(1);
return ret;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment