diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 06cd96df8d..00b0a19e06 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -388,14 +388,6 @@ typedef struct AVCodecContext { */ int frame_rate; - /** - * frame_rate_base. - * for variable fps this is 1 - * - encoding: set by user. - * - decoding: set by lavc. - */ - int frame_rate_base; - /** * width / height. * - encoding: MUST be set by user. @@ -1039,6 +1031,15 @@ typedef struct AVCodecContext { */ int me_range; + /** + * frame_rate_base. + * for variable fps this is 1 + * - encoding: set by user. + * - decoding: set by lavc. + * @todo move this after frame_rate + */ + int frame_rate_base; + } AVCodecContext;