ffmpeg: update rpi patch

Patch created using revisions 7e0d640..8832f79
from branch test/4.4.1/main of https://github.com/jc-kynesim/rpi-ffmpeg
This commit is contained in:
Matthias Reichl 2023-06-13 15:31:07 +02:00
parent c5b7574ca6
commit 387ecdc9e7

View File

@ -53060,7 +53060,7 @@ index b67b216331..a506e69d67 100644
+ +
#endif /* AVCODEC_V4L2_M2M_H */ #endif /* AVCODEC_V4L2_M2M_H */
diff --git a/libavcodec/v4l2_m2m_dec.c b/libavcodec/v4l2_m2m_dec.c diff --git a/libavcodec/v4l2_m2m_dec.c b/libavcodec/v4l2_m2m_dec.c
index ab07c0a24a..80d131eae4 100644 index ab07c0a24a..cec98cc16a 100644
--- a/libavcodec/v4l2_m2m_dec.c --- a/libavcodec/v4l2_m2m_dec.c
+++ b/libavcodec/v4l2_m2m_dec.c +++ b/libavcodec/v4l2_m2m_dec.c
@@ -21,8 +21,14 @@ @@ -21,8 +21,14 @@
@ -54123,9 +54123,9 @@ index ab07c0a24a..80d131eae4 100644
+ if (sps) { + if (sps) {
+ avctx->profile = ff_h264_get_profile(sps); + avctx->profile = ff_h264_get_profile(sps);
+ avctx->level = sps->level_idc; + avctx->level = sps->level_idc;
+ }
+ s->reorder_size = sps->num_reorder_frames; + s->reorder_size = sps->num_reorder_frames;
+ } + }
+ }
+ ff_h264_ps_uninit(&ps); + ff_h264_ps_uninit(&ps);
+ break; + break;
+ } + }