Commit 38d40ac1 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avconv: Make sure the encoder exists before inspecting supported_list
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents fa3a7b55 e760e1d4
...@@ -141,7 +141,7 @@ static char *choose_ ## var ## s(OutputStream *ost) \ ...@@ -141,7 +141,7 @@ static char *choose_ ## var ## s(OutputStream *ost) \
if (ost->st->codec->var != none) { \ if (ost->st->codec->var != none) { \
get_name(ost->st->codec->var); \ get_name(ost->st->codec->var); \
return av_strdup(name); \ return av_strdup(name); \
} else if (ost->enc->supported_list) { \ } else if (ost->enc && ost->enc->supported_list) { \
const type *p; \ const type *p; \
AVIOContext *s = NULL; \ AVIOContext *s = NULL; \
uint8_t *ret; \ uint8_t *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