diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-04-21 17:21:09 +0300 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-04-21 17:21:09 +0300 |
commit | be5fde92ff6cf920e2e7d58a864dcf5527404564 (patch) | |
tree | aaa6ec44cd3ca0e9b063621afc0fa5e0a5b704bd | |
parent | 656b07b5a9698c5f5a244f334a2a9852cfbbd01c (diff) |
libnut: Pass stream to ff_parse_specific_params
This function bo longer takes an AVCodecContext.
Fixes ticket #5430.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r-- | libavformat/libnut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/libnut.c b/libavformat/libnut.c index 48f0928622..26bb35483f 100644 --- a/libavformat/libnut.c +++ b/libavformat/libnut.c @@ -94,7 +94,7 @@ static int nut_write_header(AVFormatContext * avf) { s[i].fourcc = av_malloc(s[i].fourcc_len); for (j = 0; j < s[i].fourcc_len; j++) s[i].fourcc[j] = (fourcc >> (j*8)) & 0xFF; - ff_parse_specific_params(codec, &num, &ssize, &denom); + ff_parse_specific_params(avf->streams[i], &num, &ssize, &denom); avpriv_set_pts_info(avf->streams[i], 60, denom, num); s[i].time_base.num = denom; |