This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec: Suppress deprecation warnings from avcodec_alloc_frame()
The function is itself obsolete and slated for removal.
tags/n2.2-rc1
Diego Biurrun
11 years ago
parent
d509ae5be0
commit
190d4a447b
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/utils.c
+ 2
- 0
libavcodec/utils.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save