[FFmpeg-cvslog] avcodec: clarify documentation of avcodec_copy_context()
Michael Niedermayer
git at videolan.org
Tue Aug 13 15:29:28 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Aug 13 14:31:31 2013 +0200| [ef36ba5e088ea9660bcb03722dc7d5a29b20d352] | committer: Michael Niedermayer
avcodec: clarify documentation of avcodec_copy_context()
Following this is not strictly needed but safes some malloc+free
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ef36ba5e088ea9660bcb03722dc7d5a29b20d352
---
libavcodec/avcodec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index e4c97cc..070ce7a 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3284,7 +3284,7 @@ const AVClass *avcodec_get_subtitle_rect_class(void);
* can use this AVCodecContext to decode/encode video/audio data.
*
* @param dest target codec context, should be initialized with
- * avcodec_alloc_context3(), but otherwise uninitialized
+ * avcodec_alloc_context3(NULL), but otherwise uninitialized
* @param src source codec context
* @return AVERROR() on error (e.g. memory allocation error), 0 on success
*/
More information about the ffmpeg-cvslog
mailing list