public static SampleEntry createMOVSampleEntryFromBytes(ByteBuffer codecPrivate) {
    """
	Creates a MP4 sample entry given AVC/H.264 codec private.
	
	@param codecPrivate
	Array containing AnnexB delimited (00 00 00 01) SPS/PPS NAL
	units.
	@return MP4 sample entry
    """
        List<ByteBuffer> rawSPS = getRawSPS(codecPrivate.duplicate());
        List<ByteBuffer> rawPPS = getRawPPS(codecPrivate.duplicate());
        return createMOVSampleEntryFromSpsPpsList(rawSPS, rawPPS, 4);
    }
public static SampleEntry createMOVSampleEntryFromBytes(ByteBuffer codecPrivate) {
        List<ByteBuffer> rawSPS = getRawSPS(codecPrivate.duplicate());
        List<ByteBuffer> rawPPS = getRawPPS(codecPrivate.duplicate());
        return createMOVSampleEntryFromSpsPpsList(rawSPS, rawPPS, 4);
    }
public static SampleEntry createMOVSampleEntryFromBytes ( ByteBuffer codecPrivate ) { List < ByteBuffer > rawSPS = getRawSPS ( codecPrivate . duplicate ( ) ) ; List < ByteBuffer > rawPPS = getRawPPS ( codecPrivate . duplicate ( ) ) ; return createMOVSampleEntryFromSpsPpsList ( rawSPS , rawPPS , 4 ) ; }
Creates a MP4 sample entry given AVC/H.264 codec private.

@param codecPrivate
Array containing AnnexB delimited (00 00 00 01) SPS/PPS NAL
units.
@return MP4 sample entry
Creates a MP4 sample entry given AVC / H . 264 codec private .