summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 599226145a..8ca19aed00 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1513,3 +1513,16 @@ int av_parse_video_frame_rate(AVRational *frame_rate, const char *arg)
else
return 0;
}
+
+void av_log_missing_feature(void *avc, const char *feature, int want_sample)
+{
+ av_log(avc, AV_LOG_WARNING, "%s not implemented. Update your FFmpeg "
+ "version to the newest one from SVN. If the problem still "
+ "occurs, it means that your file has a feature which has not "
+ "been implemented.", feature);
+ if(want_sample)
+ av_log(avc, AV_LOG_WARNING, " If you want to help, upload a sample "
+ "of this file to ftp://upload.mplayerhq.hu/MPlayer/incoming/ "
+ "and contact the FFmpeg-devel mailing list.");
+ av_log(avc, AV_LOG_WARNING, "\n");
+}