summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-22 17:58:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-22 17:58:33 +0200
commit22793d7bb36e771dde1043d66f720ca7bacc7a1f (patch)
tree8b492e43015b2b2b0097523f9f5847c67117b183 /ffmpeg.c
parentf9cf14c8da2a6af4ee8524ca950f644a0b081866 (diff)
ffmpeg/lavc: move experimental warnings to libavcodec.
This way they are available to all applications and not just ffmpeg Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 1612469fda..46e128a1c6 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -469,15 +469,6 @@ void assert_avoptions(AVDictionary *m)
static void abort_codec_experimental(AVCodec *c, int encoder)
{
- const char *codec_string = encoder ? "encoder" : "decoder";
- AVCodec *codec;
- av_log(NULL, AV_LOG_FATAL, "%s '%s' is experimental and might produce bad "
- "results.\nAdd '-strict experimental' if you want to use it.\n",
- codec_string, c->name);
- codec = encoder ? avcodec_find_encoder(c->id) : avcodec_find_decoder(c->id);
- if (!(codec->capabilities & CODEC_CAP_EXPERIMENTAL))
- av_log(NULL, AV_LOG_FATAL, "Or use the non experimental %s '%s'.\n",
- codec_string, codec->name);
exit(1);
}