mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-16 22:01:15 +08:00
Merge commit '9e500efdbe0deeff1602500ebc229a0a6b6bb1a2'
* commit '9e500efdbe0deeff1602500ebc229a0a6b6bb1a2': Add av_image_check_sar() and use it to validate SAR Conflicts: libavcodec/dpx.c libavcodec/dvdec.c libavcodec/ffv1dec.c libavcodec/utils.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1150,8 +1150,7 @@ static int h264_slice_header_init(H264Context *h, int reinit)
|
||||
h->avctx->thread_count : 1;
|
||||
int i, ret;
|
||||
|
||||
h->avctx->sample_aspect_ratio = h->sps.sar;
|
||||
av_assert0(h->avctx->sample_aspect_ratio.den);
|
||||
ff_set_sar(h->avctx, h->sps.sar);
|
||||
av_pix_fmt_get_chroma_sub_sample(h->avctx->pix_fmt,
|
||||
&h->chroma_x_shift, &h->chroma_y_shift);
|
||||
|
||||
|
Reference in New Issue
Block a user