summaryrefslogtreecommitdiff
path: root/libavformat/c93.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-08-23 23:43:20 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-08-23 23:43:20 +0000
commit5972945197d44e8bde6a986b9cba2e8196cfbc9c (patch)
tree94ba719e6f5efb53fc18d7eb38ccb96d25e7b194 /libavformat/c93.c
parentc30a4489b444020ef951c1f0583afd8679c07c78 (diff)
convert every muxer/demuxer to write/read sample_aspect_ratio from/to
the corresponding AVStream instead of AVCodecContext Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/c93.c')
-rw-r--r--libavformat/c93.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/c93.c b/libavformat/c93.c
index be1577b8c8..c377f4daba 100644
--- a/libavformat/c93.c
+++ b/libavformat/c93.c
@@ -84,7 +84,7 @@ static int read_header(AVFormatContext *s,
video->codec->width = 320;
video->codec->height = 192;
/* 4:3 320x200 with 8 empty lines */
- video->codec->sample_aspect_ratio = (AVRational) { 5, 6 };
+ video->sample_aspect_ratio = (AVRational) { 5, 6 };
video->time_base = (AVRational) { 2, 25 };
video->nb_frames = framecount;
video->duration = framecount;