From bf301258b49ff6f700a096c5752864e789c6e6b3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 18 Oct 2014 19:41:48 +0200 Subject: avcodec/snowenc: add FF_MPV_COMMON_OPTS This fixes the ratecontrol code with snow adding FF_MPV_COMMON_OPTS is needed as the generic rate control options are currently in the (unrelated) MpegEncContext Signed-off-by: Michael Niedermayer --- libavcodec/snow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/snow.h') diff --git a/libavcodec/snow.h b/libavcodec/snow.h index 6a3e763a4a..6f1fca378c 100644 --- a/libavcodec/snow.h +++ b/libavcodec/snow.h @@ -29,6 +29,8 @@ #include "rangecoder.h" #include "mathops.h" + +#define FF_MPV_OFFSET(x) (offsetof(MpegEncContext, x) + offsetof(SnowContext, m)) #include "mpegvideo.h" #include "h264qpel.h" -- cgit v1.2.3