[FFmpeg-cvslog] mtv: do not set sample_rate for video

Anton Khirnov git at videolan.org
Wed Jul 9 23:18:40 CEST 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Jun 15 06:38:41 2014 +0200| [a14b61658c3302081ea5da3ea65b7d9f7b4fb2eb] | committer: Anton Khirnov

mtv: do not set sample_rate for video

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

 libavformat/mtv.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index ed250bc..5a7f047 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -133,7 +133,6 @@ static int mtv_read_header(AVFormatContext *s)
     st->codec->pix_fmt         = AV_PIX_FMT_RGB565BE;
     st->codec->width           = mtv->img_width;
     st->codec->height          = mtv->img_height;
-    st->codec->sample_rate     = mtv->video_fps;
     st->codec->extradata       = av_strdup("BottomUp");
     st->codec->extradata_size  = 9;
 



More information about the ffmpeg-cvslog mailing list