changeset 360:81e90b91f457 libavformat

no limits!, warning is enough
author michael
date Sat, 07 Feb 2004 00:03:11 +0000
parents e9232aa21976
children 7568c9f3dc40
files swf.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/swf.c	Fri Feb 06 23:56:37 2004 +0000
+++ b/swf.c	Sat Feb 07 00:03:11 2004 +0000
@@ -478,8 +478,8 @@
     int outSamples = 0;
     
     /* Flash Player limit */
-    if ( swf->swf_frame_number >= 16000 ) {
-        return 0;
+    if ( swf->swf_frame_number == 16000 ) {
+        fprintf(stderr, "warning: Flash Player limit of 16000 frames reached\n");
     }
 
     /* Store video data in queue */
@@ -679,8 +679,8 @@
     int c = 0;
 
     /* Flash Player limit */
-    if ( swf->swf_frame_number >= 16000 ) {
-        return 0;
+    if ( swf->swf_frame_number == 16000 ) {
+        fprintf(stderr, "warning: Flash Player limit of 16000 frames reached\n");
     }
 
     if (enc->codec_id == CODEC_ID_MP3 ) {