From 5972945197d44e8bde6a986b9cba2e8196cfbc9c Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sat, 23 Aug 2008 23:43:20 +0000 Subject: 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 --- libavformat/c93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/c93.c') 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; -- cgit v1.2.3