[FFmpeg-devel] [PATCH]Accept startcode 001 when remuxing H264 into mpegts

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Feb 26 17:15:30 CET 2015


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> -    if (pkt->size < 5 || AV_RB32(pkt->data) != 0x0000001) {
> +    if (pkt->size < 5 || AV_RB32(pkt->data) != 0x0000001 
> && AV_RB24(pkt->data) != 0x000001) {

This was merged by Michael, it also fixed ticket #2220.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list