[FFmpeg-cvslog] r26254 - trunk/ffserver.c

lu_zero subversion
Fri Jan 7 19:48:46 CET 2011


Author: lu_zero
Date: Fri Jan  7 19:48:45 2011
New Revision: 26254

Log:
Unbreak ffserver

Make sure the sample_aspect_ratio is 0 and not 0/0.

Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	Fri Jan  7 14:24:58 2011	(r26253)
+++ trunk/ffserver.c	Fri Jan  7 19:48:45 2011	(r26254)
@@ -3497,6 +3497,7 @@ static AVStream *add_av_stream1(FFStream
     fst->priv_data = av_mallocz(sizeof(FeedData));
     fst->index = stream->nb_streams;
     av_set_pts_info(fst, 33, 1, 90000);
+    fst->sample_aspect_ratio = (AVRational){0,1};
     stream->streams[stream->nb_streams++] = fst;
     return fst;
 }



More information about the ffmpeg-cvslog mailing list