From d754ed41727b1fcbab335b510248a9758a73320c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 30 May 2014 07:17:28 +0200 Subject: riffenc: take an AVStream instead of an AVCodecContext It will be useful in the following commits. Also, rename the AVCodecContext pointer name from 'stream' to 'codec'. --- libavformat/nutenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/nutenc.c') diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index 0c06c8bc74..b68e00ebbc 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -674,7 +674,7 @@ static int nut_write_header(AVFormatContext *s) AVStream *st = s->streams[i]; int ssize; AVRational time_base; - ff_parse_specific_params(st->codec, &time_base.den, &ssize, + ff_parse_specific_params(st, &time_base.den, &ssize, &time_base.num); avpriv_set_pts_info(st, 64, time_base.num, time_base.den); -- cgit v1.2.3