diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-03 16:05:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-03 16:05:37 +0200 |
commit | 576654302ba3ff04c9b5eaee9e21799dcb3f32c3 (patch) | |
tree | 33cf896aa7107b94d7a49b1297286a640af4bcbe /ffmpeg.c | |
parent | 2422a7ffe4415fdae0e617147759bb20c6772b64 (diff) | |
download | ffmpeg-576654302ba3ff04c9b5eaee9e21799dcb3f32c3.tar.gz |
ffmpeg: use av_log_ask_for_sample() instead of duplicating avpriv_request_sample()
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1864,10 +1864,7 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output) // or the parser does not has_b_frames correctly // ist->st->codec->has_b_frames = ist->dec_ctx->has_b_frames; if (ist->st->codec->has_b_frames < ist->dec_ctx->has_b_frames) { - av_log(ist->dec_ctx, AV_LOG_WARNING, "has_b_frames is larger in decoder than demuxer"); - av_log(ist->dec_ctx, AV_LOG_WARNING, "If you want to help, upload a sample " - "of this file to ftp://upload.ffmpeg.org/incoming/ " - "and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)\n"); + av_log_ask_for_sample(ist->dec_ctx, "has_b_frames is larger in decoder than demuxer"); } if (*got_output || ret<0 || pkt->size) |