mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-08 07:05:33 +01:00
avcodec: Add max_pixels options
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -3570,6 +3570,14 @@ typedef struct AVCodecContext {
|
||||
*/
|
||||
int trailing_padding;
|
||||
|
||||
/**
|
||||
* The number of pixels per image to maximally accept.
|
||||
*
|
||||
* - decoding: set by user
|
||||
* - encoding: set by user
|
||||
*/
|
||||
int64_t max_pixels;
|
||||
|
||||
} AVCodecContext;
|
||||
|
||||
AVRational av_codec_get_pkt_timebase (const AVCodecContext *avctx);
|
||||
|
||||
Reference in New Issue
Block a user