[FFmpeg-cvslog] r13836 - trunk/libavformat/utils.c
benoit
subversion
Fri Jun 20 09:27:45 CEST 2008
Author: benoit
Date: Fri Jun 20 09:27:44 2008
New Revision: 13836
Log:
Check if there is at least a stream before writing trailer.
Patch by Art Clarke: aclarke vlideshow com
Modified:
trunk/libavformat/utils.c
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c (original)
+++ trunk/libavformat/utils.c Fri Jun 20 09:27:44 2008
@@ -2551,7 +2551,7 @@ int av_interleave_packet_per_dts(AVForma
pktl= pktl->next;
}
- if(s->nb_streams == stream_count || (flush && stream_count)){
+ if(stream_count && (s->nb_streams == stream_count || flush)){
pktl= s->packet_buffer;
*out= pktl->pkt;
More information about the ffmpeg-cvslog
mailing list