]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/vocdec.c
qsv: Default PicStruct to progressive
[ffmpeg] / libavformat / vocdec.c
index aca77ced630dc5dc54e77d864061a376f8da7fc0..5ed71171820a068251db9e9f0c10345de80e27ae 100644 (file)
@@ -63,7 +63,7 @@ static int voc_read_packet(AVFormatContext *s, AVPacket *pkt)
         AVStream *st = avformat_new_stream(s, NULL);
         if (!st)
             return AVERROR(ENOMEM);
-        st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
+        st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
     }
     return ff_voc_get_packet(s, pkt, s->streams[0], 0);
 }