[FFmpeg-devel] [PATCH] avcodec/hevc_mp4toannexb: prepend extradata before the leading PS for an IRAP
James Almer
jamrial at gmail.com
Wed Feb 12 23:54:16 EET 2025
On 2/7/2025 12:21 PM, James Almer wrote:
> Parameter sets may be coded in the packet before an IRAP (as is the case for
> the hev1 ISO-BMFF brand), and they should have priority as they may override
> the extradata ones.
> As such, prepend the extradata PS NALUs to the packet PS NALUs if they are
> present before an IRAP, instead of prepending them to the IRAP slice.
>
> Should fix ticket #11458.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> libavcodec/bsf/hevc_mp4toannexb.c | 34 +++++++++++++++++++++++++++++--
> 1 file changed, 32 insertions(+), 2 deletions(-)
Will apply.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250212/4280b157/attachment.sig>
More information about the ffmpeg-devel
mailing list