summaryrefslogtreecommitdiff
path: root/libavfilter/avcodec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-07-29 18:56:48 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-07-30 00:33:13 +0200
commit316f6df9cc5a70c5b117793c9f167c4ce629c1e0 (patch)
tree218b03368843a7ee05695421363a82bf1441d367 /libavfilter/avcodec.c
parent9cf9214d0a0dcceeab31fc856ab614bcbe7ee027 (diff)
lavfi/avcodec: rename picref->samplesref variable in avfilter_get_audio_buffer_ref_from_frame()
The new name is more meaningful in that context.
Diffstat (limited to 'libavfilter/avcodec.c')
-rw-r--r--libavfilter/avcodec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c
index 734357c3f1..f452303bb4 100644
--- a/libavfilter/avcodec.c
+++ b/libavfilter/avcodec.c
@@ -70,14 +70,14 @@ AVFilterBufferRef *avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame
AVFilterBufferRef *avfilter_get_audio_buffer_ref_from_frame(const AVFrame *frame,
int perms)
{
- AVFilterBufferRef *picref =
+ AVFilterBufferRef *samplesref =
avfilter_get_audio_buffer_ref_from_arrays((uint8_t **)frame->data, frame->linesize[0], perms,
frame->nb_samples, frame->format,
av_frame_get_channel_layout(frame));
- if (!picref)
+ if (!samplesref)
return NULL;
- avfilter_copy_frame_props(picref, frame);
- return picref;
+ avfilter_copy_frame_props(samplesref, frame);
+ return samplesref;
}
AVFilterBufferRef *avfilter_get_buffer_ref_from_frame(enum AVMediaType type,