diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-12 00:32:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-12 00:32:15 +0100 |
commit | 44967ab60a9baf62f86bc727b51ff0acb587e676 (patch) | |
tree | 1385f738c56d90099a20088c4003ed356277fc0b /libavcodec/utils.c | |
parent | e3578fd525e94bfec16de1dfd0e5a49f18a0e0fd (diff) | |
parent | d7b3ee9a3a03ab88d61a5895fbdbc6689f4dd671 (diff) | |
download | ffmpeg-44967ab60a9baf62f86bc727b51ff0acb587e676.tar.gz |
Merge commit 'd7b3ee9a3a03ab88d61a5895fbdbc6689f4dd671'
* commit 'd7b3ee9a3a03ab88d61a5895fbdbc6689f4dd671':
lavc: deprecate avcodec_get_frame_defaults().
Conflicts:
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 020c3434b4..73370fec67 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1049,6 +1049,7 @@ enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, const en return fmt[0]; } +#if FF_API_AVFRAME_LAVC void avcodec_get_frame_defaults(AVFrame *frame) { #if LIBAVCODEC_VERSION_MAJOR >= 55 @@ -1074,7 +1075,6 @@ void avcodec_get_frame_defaults(AVFrame *frame) av_frame_set_colorspace(frame, AVCOL_SPC_UNSPECIFIED); } -#if FF_API_AVFRAME_LAVC AVFrame *avcodec_alloc_frame(void) { AVFrame *frame = av_malloc(sizeof(AVFrame)); |