aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-21 22:56:07 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-21 22:56:07 +0200
commitc047afb80c7373c8533f5aeff6413015a814faaf (patch)
treeb1f31e060532f10412fb8a1d87582d61c1ee1e67 /ffmpeg.c
parent2f06b56382ddd4ae1bbe09fd07f6e7658bfece08 (diff)
parent95510be8c35753da8f48062b28b65e7acdab965f (diff)
downloadffmpeg-c047afb80c7373c8533f5aeff6413015a814faaf.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: avcodec: remove AVCodecContext.dsp_mask avconv: fix a segfault when default encoder for a format doesn't exist. utvideo: general cosmetics aac: Handle HE-AACv2 when sniffing a channel order. movenc: Support high sample rates in isomedia formats by setting the sample rate field in stsd to 0. xxan: Remove write-only variable in xan_decode_frame_type0(). ivi_common: Initialize a variable at declaration in ff_ivi_decode_blocks(). Conflicts: ffmpeg.c libavcodec/utvideo.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 0721a04280..f9a9158313 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3014,6 +3014,7 @@ static int transcode_init(void)
if (!ost->enc)
ost->enc = avcodec_find_encoder(codec->codec_id);
if (!ost->enc) {
+ /* should only happen when a default codec is not present. */
snprintf(error, sizeof(error), "Encoder (codec %s) not found for output stream #%d:%d",
avcodec_get_name(ost->st->codec->codec_id), ost->file_index, ost->index);
ret = AVERROR(EINVAL);