mtv: do not set sample_rate for video
authorAnton Khirnov <anton@khirnov.net>
Sun, 15 Jun 2014 04:38:41 +0000 (06:38 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 9 Jul 2014 13:38:26 +0000 (13:38 +0000)
libavformat/mtv.c

index ed250bc..5a7f047 100644 (file)
@@ -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;