- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found something like that in IPP5.0 sample:
Ipp8u* mp4_FindStartCodeOrShortPtr(mp4_Info* pInfo)
{
...
// short_video_header
if (ptr == 0 && ptr[i + 1] == 0 && (ptr[i + 2] & 0xFC) == 0x80) {
return ptr;
}
...
}
Are you sure that it is correct ? The position of the header is ptr, so I think this function should
return ptr+i;
Am I right ?
Ipp8u* mp4_FindStartCodeOrShortPtr(mp4_Info* pInfo)
{
...
// short_video_header
if (ptr == 0 && ptr[i + 1] == 0 && (ptr[i + 2] & 0xFC) == 0x80) {
return ptr;
}
...
}
Are you sure that it is correct ? The position of the header is ptr, so I think this function should
return ptr+i;
Am I right ?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by chenm001 on 09-24-2005 02:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's right, thanks Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page