[MPlayer-dev-eng] About H.264 4-byte start code
jetta.tang at hhcn.com
Mon Jan 12 03:17:37 CET 2009
I apologize first if this issue is inappropriate in this maillist.
I want to use our own new H.264 decoder in MPlayer(in libavcodec), now i
have a problem.
Our H264 decoding library assumes that H.264 stream's start code is
4-byte 0x00000001, but in Mplayer, it seems to use 3-byte pattern 0x000001
by calling the function "demux_pattern_3" when read packet. So the input
date given to H264 decoder will just have 0x000001 start code.
Can i just write a new function just like "demux_pattern_4" in file
"demuxer.c" to solve this problem?
More information about the MPlayer-dev-eng