aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_filter.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-07 00:27:53 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-07 00:28:15 +0100
commit38d40ac18a3855620852e6552114caeb413497eb (patch)
tree60169e2c9159a1cac69d4a4239ba27c507221da7 /ffmpeg_filter.c
parentfa3a7b55ec1be2a5274d7349d3aa1faed14d2bcb (diff)
parente760e1d408261566814e24c43119d7aca538d2eb (diff)
downloadffmpeg-38d40ac18a3855620852e6552114caeb413497eb.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: avconv: Make sure the encoder exists before inspecting supported_list Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_filter.c')
-rw-r--r--ffmpeg_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c
index 1919f78e24..bdf43638ae 100644
--- a/ffmpeg_filter.c
+++ b/ffmpeg_filter.c
@@ -141,7 +141,7 @@ static char *choose_ ## var ## s(OutputStream *ost) \
if (ost->st->codec->var != none) { \
get_name(ost->st->codec->var); \
return av_strdup(name); \
- } else if (ost->enc->supported_list) { \
+ } else if (ost->enc && ost->enc->supported_list) { \
const type *p; \
AVIOContext *s = NULL; \
uint8_t *ret; \