Skip to content
Snippets Groups Projects
Commit 190d4a44 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

avcodec: Suppress deprecation warnings from avcodec_alloc_frame()

The function is itself obsolete and slated for removal.
parent d509ae5b
No related branches found
No related tags found
No related merge requests found
......@@ -853,7 +853,9 @@ AVFrame *avcodec_alloc_frame(void)
if (frame == NULL)
return NULL;
FF_DISABLE_DEPRECATION_WARNINGS
avcodec_get_frame_defaults(frame);
FF_ENABLE_DEPRECATION_WARNINGS
return frame;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment