diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-01-02 15:11:30 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-01-26 11:15:38 +0100 |
commit | b6afb2dde1aa92ff8fac020f34fc436fede388b0 (patch) | |
tree | e6b8473fa897d98a0a0aacd9425c9b2a3c4e7f92 /libavfilter/avcodec.c | |
parent | fccd8c21c40cf004cacaa6b4bf12695ecb014c1b (diff) | |
download | ffmpeg-b6afb2dde1aa92ff8fac020f34fc436fede388b0.tar.gz |
lavfi: support unknown channel layouts.
Diffstat (limited to 'libavfilter/avcodec.c')
-rw-r--r-- | libavfilter/avcodec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index 0c1f02ad8a..2343d19e9c 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -96,9 +96,6 @@ AVFilterBufferRef *avfilter_get_audio_buffer_ref_from_frame(const AVFrame *frame int channels = av_frame_get_channels(frame); int64_t layout = av_frame_get_channel_layout(frame); - if(av_frame_get_channels(frame) > 8) // libavfilter does not suport more than 8 channels FIXME, remove once libavfilter is fixed - return NULL; - if (layout && av_get_channel_layout_nb_channels(layout) != av_frame_get_channels(frame)) { av_log(0, AV_LOG_ERROR, "Layout indicates a different number of channels than actually present\n"); return NULL; |