diff --git DVDStyler src mediaenc_ffmpeg cpp DVDStyler src mediaenc_ff

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/DVDStyler/src/mediaenc_ffmpeg.cpp b/DVDStyler/src/mediaenc_ffmpeg.cpp
index 2eff2ec..fdad4b9 100644
--- a/DVDStyler/src/mediaenc_ffmpeg.cpp
+++ b/DVDStyler/src/mediaenc_ffmpeg.cpp
@@ -233,7 +233,7 @@ void wxFfmpegMediaEncoder::CloseAudioEncoder() {
m_audioStm = NULL;
}
-AVFrame* allocPicture(int pix_fmt, int width, int height) {
+AVFrame* allocPicture(PixelFormat pix_fmt, int width, int height) {
AVFrame* picture = avcodec_alloc_frame();
if (!picture)
return NULL;