diff --git a/ffmpeg.c b/ffmpeg.c index 93600f032d..5087b7262a 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -608,8 +608,8 @@ static void pre_process_video_frame(AVInputStream *ist, AVPicture *picture, void } if (ENABLE_VHOOK) - frame_hook_process(picture2, dec->pix_fmt, dec->width, dec->height, - 1000000 * ist->pts / AV_TIME_BASE); + frame_hook_process(picture2, dec->pix_fmt, dec->width, dec->height, + 1000000 * ist->pts / AV_TIME_BASE); if (picture != picture2) *picture = *picture2;