summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2016-02-29 22:48:14 +0100
committerAnton Khirnov <anton@khirnov.net>2016-03-05 09:10:10 +0100
commit0b6e5d6b32b91c6da79cd919a3c2ede9d682f838 (patch)
treec54f2676065ef2473e8ce2321c64e573cf6ff709 /avconv.c
parent2e2f8534ebde47d3a3909fe64c2e66204bc56874 (diff)
avconv: remove sub-frame warning
It's not practical to keep this with the new decode API. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/avconv.c b/avconv.c
index 35ea1f5019..d878646820 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1337,13 +1337,6 @@ static void process_input_packet(InputStream *ist, const AVPacket *pkt, int no_e
ist->last_dts = ist->next_dts;
- if (avpkt.size && avpkt.size != pkt->size &&
- !(ist->dec->capabilities & AV_CODEC_CAP_SUBFRAMES)) {
- av_log(NULL, ist->showed_multi_packet_warning ? AV_LOG_VERBOSE : AV_LOG_WARNING,
- "Multiple frames in a packet from stream %d\n", pkt->stream_index);
- ist->showed_multi_packet_warning = 1;
- }
-
switch (ist->dec_ctx->codec_type) {
case AVMEDIA_TYPE_AUDIO:
ret = decode_audio (ist, &avpkt, &got_output);