projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82579a
)
Unbreak ffserver
author
Luca Barbato
<lu_zero@gentoo.org>
Fri, 7 Jan 2011 18:48:45 +0000
(18:48 +0000)
committer
Luca Barbato
<lu_zero@gentoo.org>
Fri, 7 Jan 2011 18:48:45 +0000
(18:48 +0000)
Make sure the sample_aspect_ratio is 0 and not 0/0.
Originally committed as revision 26254 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
64bcb9b
..
89e8e95
100644
(file)
--- 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;
}