[MPlayer-dev-eng] [PATCH] patch for h264 parse sps'emulatio…

トップ ページ

このメッセージに返信
著者: JulionLiang
日付:  
To: mplayer-dev-eng
題目: [MPlayer-dev-eng] [PATCH] patch for h264 parse sps'emulation bug

Hi,

The bug is that h264 file whose SPS include 0x00 00 03 03 bytes,

and the first emulation 0x03 byte will be skipped from *buf when
call function
video_read_properties(),and forward call function mp_unescape03(),
the secoond 03 byte
is not emulation byte and is the useful sps data, so the byte
stream becomes 0x00 00 03
in the decoder , but the 0x03 byte will be recognized as emulation
byte,
and will be skipped, finally it will bring bug.

copy all the SPS data from *buf to *dest, skip emulation byte and
decode sps from *dest ,
make *buf remain the same, the emulation byte 0x03 will be skipped
in decoder.

The concrete solution refers to patch.


Thanks & Best Regards!

--Julion



_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@???
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng