Mercurial > libavcodec.hg
comparison utils.c @ 8603:555c2ab21d84 libavcodec
Split ff_log_missing_feature into ff_log_missing_feature
and ff_log_ask_for_sample.
Patch by Kenan Gillet: gmail_adress(author)
author | benoit |
---|---|
date | Fri, 16 Jan 2009 16:20:42 +0000 |
parents | 68e959302527 |
children | a637db9f59b1 |
comparison
equal
deleted
inserted
replaced
8602:d90dec69b2a2 | 8603:555c2ab21d84 |
---|---|
34 #include "avcodec.h" | 34 #include "avcodec.h" |
35 #include "dsputil.h" | 35 #include "dsputil.h" |
36 #include "opt.h" | 36 #include "opt.h" |
37 #include "imgconvert.h" | 37 #include "imgconvert.h" |
38 #include "audioconvert.h" | 38 #include "audioconvert.h" |
39 #include "internal.h" | |
39 #include <stdlib.h> | 40 #include <stdlib.h> |
40 #include <stdarg.h> | 41 #include <stdarg.h> |
41 #include <limits.h> | 42 #include <limits.h> |
42 #include <float.h> | 43 #include <float.h> |
43 #if !HAVE_MKSTEMP | 44 #if !HAVE_MKSTEMP |
1087 av_log(avc, AV_LOG_WARNING, "%s not implemented. Update your FFmpeg " | 1088 av_log(avc, AV_LOG_WARNING, "%s not implemented. Update your FFmpeg " |
1088 "version to the newest one from SVN. If the problem still " | 1089 "version to the newest one from SVN. If the problem still " |
1089 "occurs, it means that your file has a feature which has not " | 1090 "occurs, it means that your file has a feature which has not " |
1090 "been implemented.", feature); | 1091 "been implemented.", feature); |
1091 if(want_sample) | 1092 if(want_sample) |
1092 av_log(avc, AV_LOG_WARNING, " If you want to help, upload a sample " | 1093 ff_log_ask_for_sample(avc, NULL); |
1093 "of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ " | 1094 else |
1094 "and contact the ffmpeg-devel mailing list."); | 1095 av_log(avc, AV_LOG_WARNING, "\n"); |
1095 av_log(avc, AV_LOG_WARNING, "\n"); | 1096 } |
1096 } | 1097 |
1098 void ff_log_ask_for_sample(void *avc, const char *msg) | |
1099 { | |
1100 if (msg) | |
1101 av_log(avc, AV_LOG_WARNING, "%s ", msg); | |
1102 av_log(avc, AV_LOG_WARNING, "If you want to help, upload a sample " | |
1103 "of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ " | |
1104 "and contact the ffmpeg-devel mailing list.\n"); | |
1105 } |