Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2017-04-22 11:57:18 +0300
committerMuhammad Faiz <mfcc64@gmail.com>2017-04-23 10:40:30 +0300
commit6af050d7d0c3c73f3d62115152db82ebd2dc5d57 (patch)
treed1c7b6d4711dc095cab3f135f5c6433b4474364a /libavfilter/framepool.c
parent8103c595223613c08e44bcf56ae7098d3c31be8b (diff)
avfilter: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavfilter/framepool.c')
-rw-r--r--libavfilter/framepool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/framepool.c b/libavfilter/framepool.c
index e1f1e2cc41..42c0e58498 100644
--- a/libavfilter/framepool.c
+++ b/libavfilter/framepool.c
@@ -240,7 +240,7 @@ AVFrame *ff_frame_pool_get(FFFramePool *pool)
break;
case AVMEDIA_TYPE_AUDIO:
frame->nb_samples = pool->nb_samples;
- av_frame_set_channels(frame, pool->channels);
+ frame->channels = pool->channels;
frame->format = pool->format;
frame->linesize[0] = pool->linesize[0];