diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-05-30 07:17:28 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-06-18 15:03:55 +0200 |
commit | d754ed41727b1fcbab335b510248a9758a73320c (patch) | |
tree | a36c3d330f92bd2b3fb6f638a5aaada93f4951c4 /libavformat/nutenc.c | |
parent | f792d3cbb8e8e35c54a9358a55dd596b7a40f228 (diff) | |
download | ffmpeg-d754ed41727b1fcbab335b510248a9758a73320c.tar.gz |
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'.
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r-- | libavformat/nutenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |