summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 6a156dc4d6..cd47b20515 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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;