replaced av_dv_codec_profile by av_dv_codec_profile2 in encoder and dv muxers
[ffmpeg.git] / libavformat / dvenc.c
index 18fdf9f..e99ac3c 100644 (file)
@@ -337,7 +337,8 @@ static DVMuxContext* dv_init_mux(AVFormatContext* s)
                 goto bail_out;
         }
     }
-    c->sys = av_dv_codec_profile(vst->codec->width, vst->codec->height, vst->codec->pix_fmt);
+    c->sys = av_dv_codec_profile2(vst->codec->width, vst->codec->height,
+                                  vst->codec->pix_fmt, vst->codec->time_base);
     if (!c->sys)
         goto bail_out;