mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
remove apparently unused real_pict_num from AVCodecContext
Originally committed as revision 18969 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a4a750d3b2
commit
c0601d705c
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#define LIBAVCODEC_VERSION_MAJOR 52
|
#define LIBAVCODEC_VERSION_MAJOR 52
|
||||||
#define LIBAVCODEC_VERSION_MINOR 29
|
#define LIBAVCODEC_VERSION_MINOR 29
|
||||||
#define LIBAVCODEC_VERSION_MICRO 0
|
#define LIBAVCODEC_VERSION_MICRO 1
|
||||||
|
|
||||||
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
|
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
|
||||||
LIBAVCODEC_VERSION_MINOR, \
|
LIBAVCODEC_VERSION_MINOR, \
|
||||||
@ -1117,7 +1117,9 @@ typedef struct AVCodecContext {
|
|||||||
*/
|
*/
|
||||||
int frame_size;
|
int frame_size;
|
||||||
int frame_number; ///< audio or video frame number
|
int frame_number; ///< audio or video frame number
|
||||||
|
#if LIBAVCODEC_VERSION_MAJOR < 53
|
||||||
int real_pict_num; ///< Returns the real picture number of previous encoded frame.
|
int real_pict_num; ///< Returns the real picture number of previous encoded frame.
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Number of frames the decoded output will be delayed relative to
|
* Number of frames the decoded output will be delayed relative to
|
||||||
|
@ -1216,7 +1216,6 @@ vbv_retry:
|
|||||||
if (encode_picture(s, s->picture_number) < 0)
|
if (encode_picture(s, s->picture_number) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
avctx->real_pict_num = s->picture_number;
|
|
||||||
avctx->header_bits = s->header_bits;
|
avctx->header_bits = s->header_bits;
|
||||||
avctx->mv_bits = s->mv_bits;
|
avctx->mv_bits = s->mv_bits;
|
||||||
avctx->misc_bits = s->misc_bits;
|
avctx->misc_bits = s->misc_bits;
|
||||||
|
@ -111,7 +111,9 @@ static const AVOption options[]={
|
|||||||
{"cutoff", "set cutoff bandwidth", OFFSET(cutoff), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|E},
|
{"cutoff", "set cutoff bandwidth", OFFSET(cutoff), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|E},
|
||||||
{"frame_size", NULL, OFFSET(frame_size), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|E},
|
{"frame_size", NULL, OFFSET(frame_size), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|E},
|
||||||
{"frame_number", NULL, OFFSET(frame_number), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
|
{"frame_number", NULL, OFFSET(frame_number), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
|
||||||
|
#if LIBAVCODEC_VERSION_MAJOR < 53
|
||||||
{"real_pict_num", NULL, OFFSET(real_pict_num), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
|
{"real_pict_num", NULL, OFFSET(real_pict_num), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
|
||||||
|
#endif
|
||||||
{"delay", NULL, OFFSET(delay), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
|
{"delay", NULL, OFFSET(delay), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
|
||||||
{"qcomp", "video quantizer scale compression (VBR)", OFFSET(qcompress), FF_OPT_TYPE_FLOAT, 0.5, -FLT_MAX, FLT_MAX, V|E},
|
{"qcomp", "video quantizer scale compression (VBR)", OFFSET(qcompress), FF_OPT_TYPE_FLOAT, 0.5, -FLT_MAX, FLT_MAX, V|E},
|
||||||
{"qblur", "video quantizer scale blur (VBR)", OFFSET(qblur), FF_OPT_TYPE_FLOAT, 0.5, 0, FLT_MAX, V|E},
|
{"qblur", "video quantizer scale blur (VBR)", OFFSET(qblur), FF_OPT_TYPE_FLOAT, 0.5, 0, FLT_MAX, V|E},
|
||||||
|
Loading…
Reference in New Issue
Block a user