]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/options.c
Move ff_dlog from lavc to lavu.
[ffmpeg] / libavcodec / options.c
index 37f379245db3083e9c05dec78b8bdcf1c05c6de6..7154c9c4e774ed3035f325a964a72cd8bcde1ce0 100644 (file)
@@ -213,7 +213,11 @@ int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src)
     dest->slice_offset    = NULL;
     dest->hwaccel         = NULL;
     dest->internal        = NULL;
+#if FF_API_CODED_FRAME
+FF_DISABLE_DEPRECATION_WARNINGS
     dest->coded_frame     = NULL;
+FF_ENABLE_DEPRECATION_WARNINGS
+#endif
 
     /* reallocate values that should be allocated separately */
     dest->extradata       = NULL;