diff options
author | Luca Barbato | 2011-01-07 18:48:45 +0000 |
---|---|---|
committer | Luca Barbato | 2011-01-07 18:48:45 +0000 |
commit | 2a127067109b03b32054463a7401150171b6b578 (patch) | |
tree | a4f62d5d084b8052fcabdca3384b0524b1c041c2 /ffserver.c | |
parent | b82579a6ec54b155361d7e8f2e647bc335a6fb5d (diff) |
Unbreak ffserver
Make sure the sample_aspect_ratio is 0 and not 0/0.
Originally committed as revision 26254 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c index 64bcb9beb9..89e8e9582d 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3497,6 +3497,7 @@ static AVStream *add_av_stream1(FFStream *stream, AVCodecContext *codec, int cop 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; } |