]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg_filter.c
avcodec/crystalhd: Switch to the new generic filtering mechanism
[ffmpeg] / ffmpeg_filter.c
index 219e473f692bebbe76678600b86cb55d09c0d218..896161a869568481c7343707b24ff36d89c4e6d8 100644 (file)
@@ -1162,7 +1162,7 @@ int ifilter_parameters_from_frame(InputFilter *ifilter, const AVFrame *frame)
     ifilter->sample_aspect_ratio = frame->sample_aspect_ratio;
 
     ifilter->sample_rate         = frame->sample_rate;
-    ifilter->channels            = av_frame_get_channels(frame);
+    ifilter->channels            = frame->channels;
     ifilter->channel_layout      = frame->channel_layout;
 
     if (frame->hw_frames_ctx) {