Commit 8f116ab4 authored by michael's avatar michael

no limits!, warning is enough


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2757 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9b971b5c
......@@ -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 ) {
......
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