lavc: deprecate avcodec_alloc_frame().
This commit is contained in:
@@ -815,6 +815,7 @@ void avcodec_get_frame_defaults(AVFrame *frame)
|
||||
frame->extended_data = frame->data;
|
||||
}
|
||||
|
||||
#if FF_API_AVFRAME_LAVC
|
||||
AVFrame *avcodec_alloc_frame(void)
|
||||
{
|
||||
AVFrame *frame = av_mallocz(sizeof(AVFrame));
|
||||
@@ -826,6 +827,7 @@ AVFrame *avcodec_alloc_frame(void)
|
||||
|
||||
return frame;
|
||||
}
|
||||
#endif
|
||||
|
||||
void avcodec_free_frame(AVFrame **frame)
|
||||
{
|
||||
|
Reference in New Issue
Block a user