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>
This commit is contained in:
parent
656b07b5a9
commit
be5fde92ff
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user