OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d509ae5
)
avcodec: Suppress deprecation warnings from avcodec_alloc_frame()
author
Diego Biurrun
<diego@biurrun.de>
Tue, 4 Feb 2014 11:23:15 +0000
(
03:23
-0800)
committer
Diego Biurrun
<diego@biurrun.de>
Tue, 4 Feb 2014 12:46:20 +0000
(13:46 +0100)
The function is itself obsolete and slated for removal.
libavcodec/utils.c
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
044413a
..
46f339f
100644
(file)
--- a/
libavcodec/utils.c
+++ b/
libavcodec/utils.c
@@
-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;
}