diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-02-07 00:03:11 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-07 00:03:11 +0000 |
commit | d3e18ad02795f9761b7e5a5c018dfef786046acf (patch) | |
tree | 162fabead7e9b884255ccccaa882264710e0126e | |
parent | 747a0554ea8ad09404c1f5b80239ebd8d71b291e (diff) | |
download | ffmpeg-d3e18ad02795f9761b7e5a5c018dfef786046acf.tar.gz |
no limits!, warning is enough
Originally committed as revision 2757 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/swf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/swf.c b/libavformat/swf.c index bf740d3e91..fd70e54521 100644 --- a/libavformat/swf.c +++ b/libavformat/swf.c @@ -478,8 +478,8 @@ static int swf_write_video(AVFormatContext *s, 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 @@ static int swf_write_audio(AVFormatContext *s, 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 ) { |