aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-09-21 08:28:49 +0200
committerAnton Khirnov <anton@khirnov.net>2012-09-24 12:31:24 +0200
commita83499b13b5bbe7289f33b757313efe83b7698fb (patch)
tree048d359a34ed887bbbf2434f65e8d9c0c5e3f462 /libavcodec/avcodec.h
parentcee1950bbb44acd215efd2101fb52d9605701969 (diff)
downloadffmpeg-a83499b13b5bbe7289f33b757313efe83b7698fb.tar.gz
lavc: rename the argument of avcodec_alloc_frame/get_frame_defaults
AVFrame is used for both audio and video, so calling the argument 'pic' is misleading.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index c5cdf41ed3..2bb308f1d1 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3267,9 +3267,9 @@ AVFrame *avcodec_alloc_frame(void);
/**
* Set the fields of the given AVFrame to default values.
*
- * @param pic The AVFrame of which the fields should be set to default values.
+ * @param frame The AVFrame of which the fields should be set to default values.
*/
-void avcodec_get_frame_defaults(AVFrame *pic);
+void avcodec_get_frame_defaults(AVFrame *frame);
/**
* Initialize the AVCodecContext to use the given AVCodec. Prior to using this