[FFmpeg-cvslog] libnut: Pass stream to ff_parse_specific_params

Derek Buitenhuis git at videolan.org
Thu Apr 21 16:22:06 CEST 2016


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Thu Apr 21 15:21:09 2016 +0100| [be5fde92ff6cf920e2e7d58a864dcf5527404564] | committer: Derek Buitenhuis

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=be5fde92ff6cf920e2e7d58a864dcf5527404564
---

 libavformat/libnut.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/libnut.c b/libavformat/libnut.c
index 48f0928..26bb354 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;



More information about the ffmpeg-cvslog mailing list