Mercurial > libavcodec.hg
comparison utils.c @ 9891:7ad7d4094d1f libavcodec
Rename ff_log_missing_feature() to av_log_missing_feature().
| author | rbultje |
|---|---|
| date | Mon, 29 Jun 2009 19:07:04 +0000 |
| parents | f114b5f2ac47 |
| children | 0ac7e80ecc76 |
comparison
equal
deleted
inserted
replaced
| 9890:956adcb2b00d | 9891:7ad7d4094d1f |
|---|---|
| 1189 return -1; | 1189 return -1; |
| 1190 else | 1190 else |
| 1191 return 0; | 1191 return 0; |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 void ff_log_missing_feature(void *avc, const char *feature, int want_sample) | 1194 void av_log_missing_feature(void *avc, const char *feature, int want_sample) |
| 1195 { | 1195 { |
| 1196 av_log(avc, AV_LOG_WARNING, "%s not implemented. Update your FFmpeg " | 1196 av_log(avc, AV_LOG_WARNING, "%s not implemented. Update your FFmpeg " |
| 1197 "version to the newest one from SVN. If the problem still " | 1197 "version to the newest one from SVN. If the problem still " |
| 1198 "occurs, it means that your file has a feature which has not " | 1198 "occurs, it means that your file has a feature which has not " |
| 1199 "been implemented.", feature); | 1199 "been implemented.", feature); |
| 1200 if(want_sample) | 1200 if(want_sample) |
| 1201 ff_log_ask_for_sample(avc, NULL); | 1201 av_log_ask_for_sample(avc, NULL); |
| 1202 else | 1202 else |
| 1203 av_log(avc, AV_LOG_WARNING, "\n"); | 1203 av_log(avc, AV_LOG_WARNING, "\n"); |
| 1204 } | 1204 } |
| 1205 | 1205 |
| 1206 void ff_log_ask_for_sample(void *avc, const char *msg) | 1206 void av_log_ask_for_sample(void *avc, const char *msg) |
| 1207 { | 1207 { |
| 1208 if (msg) | 1208 if (msg) |
| 1209 av_log(avc, AV_LOG_WARNING, "%s ", msg); | 1209 av_log(avc, AV_LOG_WARNING, "%s ", msg); |
| 1210 av_log(avc, AV_LOG_WARNING, "If you want to help, upload a sample " | 1210 av_log(avc, AV_LOG_WARNING, "If you want to help, upload a sample " |
| 1211 "of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ " | 1211 "of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ " |
