Re: [FFmpeg-devel] [PATCH v2] avcodec/h2645_parse: Don't treat 0x000002 as a start code and truncate

2024-02-16 Thread Anton Khirnov
Quoting Mattias Wadman (2024-02-13 11:17:46) > According to ITU-T H.265 7.4.2.1 this byte sequence should not appear in a > NAL unit but in practice in rare cases it seems it does, possibly due to buggy > encoders. Other players like VLC and Quicktime seem to be fine with it. > > Currently when

[FFmpeg-devel] [PATCH v2] avcodec/h2645_parse: Don't treat 0x000002 as a start code and truncate

2024-02-13 Thread Mattias Wadman
According to ITU-T H.265 7.4.2.1 this byte sequence should not appear in a NAL unit but in practice in rare cases it seems it does, possibly due to buggy encoders. Other players like VLC and Quicktime seem to be fine with it. Currently when this sequence is found it is treated as if the next