diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-14 18:03:06 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-20 18:58:39 +0200 |
commit | 594723ec3825c912a19d2fc6e1c6b01d0242452e (patch) | |
tree | 8dabc93d18d16d6b324cf9bd2f5600225f4b9934 /libavcodec/mpegvideo.h | |
parent | c735552b0b7fc5ab744fd8f652d27e490c6bccd9 (diff) | |
download | ffmpeg-594723ec3825c912a19d2fc6e1c6b01d0242452e.tar.gz |
avcodec/mpegvideo: Move quant_precision to Mpeg4DecContext
It is an MPEG-4-only value; it is always five for the MPEG-4
encoder, so just hardcode this value and move the MpegEncContext
field to Mpeg4DecContext.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 844da6881f..8083299b66 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -384,7 +384,6 @@ typedef struct MpegEncContext { uint16_t pp_field_time; uint16_t pb_field_time; ///< like above, just for interlaced int mcsel; - int quant_precision; int quarter_sample; ///< 1->qpel, 0->half pel ME/MC int data_partitioning; ///< data partitioning flag from header int partitioned_frame; ///< is current frame partitioned |