History

Merge remote-tracking branch 'qatar/master'

* qatar/master: avconv: Make sure the encoder exists before inspecting supported_list

Michael Niedermayer committed 13 years ago

Commit 38d40ac2 parents fa3a7b5 e760e1d1 file · +1 −1Browse files

Unified · Split

ffmpeg_filter.c+1−1
@@ -141,7 +141,7 @@ static char *choose_ ## var ## s(OutputStream *ost) \ · 140 unmodified lines
141141 if (ost->st->codec->var != none) { \
142142 get_name(ost->st->codec->var); \
143143 return av_strdup(name); \
144− } else if (ost->enc->supported_list) { \
144+ } else if (ost->enc && ost->enc->supported_list) { \
145145 const type *p; \
146146 AVIOContext *s = NULL; \
147147 uint8_t *ret; \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t