diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-17 19:38:47 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-17 19:38:47 +0000 |
commit | 40cb57a287977f8b88657abf30e8787477d6c448 (patch) | |
tree | 3e61e4686c6df2fb48f9ebd22167acc2aa280ac7 /ffmpeg.c | |
parent | ed9238593e4b030e0a27ab6b4279d90d5b017fb2 (diff) | |
download | ffmpeg-40cb57a287977f8b88657abf30e8787477d6c448.tar.gz |
Print a warning if a decoder produces more than 1 frame of output for
a single frame it got from the demuxer+parser.
Originally committed as revision 12133 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1074,6 +1074,9 @@ static int output_packet(AVInputStream *ist, int ist_index, handle_eof: ist->pts= ist->next_pts; + if(len && len != pkt->size && verbose>0) + fprintf(stderr, "Multiple frames in a packet from stream %d\n", pkt->stream_index); + /* decode the packet if needed */ data_buf = NULL; /* fail safe */ data_size = 0; |