Commit 05fe1d69 authored by michael's avatar michael

Print a warning if a decoder produces more than 1 frame of output for

a single frame it got from the demuxer+parser.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12133 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 28c9ec2f
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment