Skip to content

Commit

Permalink
DVDDemuxUtils: Align to 32 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
fritsch committed Oct 29, 2016
1 parent 7f4c95a commit 98105f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ DemuxPacket* CDVDDemuxUtils::AllocateDemuxPacket(int iDataSize)
* Note, if the first 23 bits of the additional bytes are not 0 then damaged
* MPEG bitstreams could cause overread and segfault
*/
pPacket->pData =(uint8_t*)_aligned_malloc(iDataSize + FF_INPUT_BUFFER_PADDING_SIZE, 16);
pPacket->pData =(uint8_t*)_aligned_malloc(iDataSize + FF_INPUT_BUFFER_PADDING_SIZE, 32);
if (!pPacket->pData)
{
FreeDemuxPacket(pPacket);
Expand Down

0 comments on commit 98105f6

Please sign in to comment.