diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2025-03-21 21:07:37 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2025-03-24 14:54:40 +0800 |
commit | 2a189d44b517ff97a34622be23157f51b8f42cd6 (patch) | |
tree | 930607d11c98c8443056bc159c7be50c95262e84 | |
parent | 1731eba20d87a7f62f91c4507fca783c20b5ece4 (diff) | |
download | ffmpeg-2a189d44b517ff97a34622be23157f51b8f42cd6.tar.gz |
avcodec/avs3_parser: pixel format should be native endian
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
-rw-r--r-- | libavcodec/avs3_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avs3_parser.c b/libavcodec/avs3_parser.c index ea495b1c7c..71278c7e2d 100644 --- a/libavcodec/avs3_parser.c +++ b/libavcodec/avs3_parser.c @@ -97,7 +97,7 @@ static void parse_avs3_nal_units(AVCodecParserContext *s, const uint8_t *buf, if (sample_precision == 1) { avctx->pix_fmt = AV_PIX_FMT_YUV420P; } else if (sample_precision == 2) { - avctx->pix_fmt = AV_PIX_FMT_YUV420P10LE; + avctx->pix_fmt = AV_PIX_FMT_YUV420P10; } else { avctx->pix_fmt = AV_PIX_FMT_NONE; } |