]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mtv.c
Corrections to channel coupling code to attain conformance for appropriate
[ffmpeg] / libavformat / mtv.c
index d97b9cdd856c032ab700a24d113f0cbbb7063479..75da0e76e304c122f436a828d37d4a88e9eb640c 100644 (file)
@@ -102,7 +102,7 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap)
     st->codec->codec_tag       = MKTAG('R', 'G', 'B', mtv->img_bpp);
     st->codec->width           = mtv->img_width;
     st->codec->height          = mtv->img_height;
-    st->codec->bits_per_sample = mtv->img_bpp;
+    st->codec->bits_per_coded_sample = mtv->img_bpp;
     st->codec->sample_rate     = mtv->video_fps;
 
     /* audio - mp3 */