[MPlayer-dev-eng] About H.264 4-byte start code
Nicola.Sabbi at poste.it
Mon Jan 12 10:25:51 CET 2009
On Monday 12 January 2009 03:17:37 Jetta wrote:
> Hi all,
> 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?
Where's the patch?
More information about the MPlayer-dev-eng