summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-12-05 14:27:30 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2017-03-23 10:09:12 +0100
commit0337adfab5d14a17bf4d5060aa0425e4049a9862 (patch)
tree016efa722d6a8079c411e4e9dd74950c8729fd79 /libavcodec/utils.c
parentbc143ce1ac3f8cd851a7e6be69d9a1fbe6b633b6 (diff)
lavc: Drop deprecated missing sample log function
Deprecated in 01/2013.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index ea4d5fa312..8a481dd025 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1359,35 +1359,6 @@ int ff_match_2uint16(const uint16_t(*tab)[2], int size, int a, int b)
return i;
}
-#if FF_API_MISSING_SAMPLE
-FF_DISABLE_DEPRECATION_WARNINGS
-void av_log_missing_feature(void *avc, const char *feature, int want_sample)
-{
- av_log(avc, AV_LOG_WARNING, "%s is not implemented. Update your Libav "
- "version to the newest one from Git. If the problem still "
- "occurs, it means that your file has a feature which has not "
- "been implemented.\n", feature);
- if(want_sample)
- av_log_ask_for_sample(avc, NULL);
-}
-
-void av_log_ask_for_sample(void *avc, const char *msg, ...)
-{
- va_list argument_list;
-
- va_start(argument_list, msg);
-
- if (msg)
- av_vlog(avc, AV_LOG_WARNING, msg, argument_list);
- av_log(avc, AV_LOG_WARNING, "If you want to help, upload a sample "
- "of this file to ftp://upload.libav.org/incoming/ "
- "and contact the libav-devel mailing list.\n");
-
- va_end(argument_list);
-}
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif /* FF_API_MISSING_SAMPLE */
-
static AVHWAccel *first_hwaccel = NULL;
void av_register_hwaccel(AVHWAccel *hwaccel)