mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-13 02:41:37 +00:00
no limits!, warning is enough
Originally committed as revision 2757 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
747a0554ea
commit
d3e18ad027
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user