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;