mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
libeplayer/h264: Fix playback.
Origin commit data
------------------
Branch: master
Commit: db994be096
Author: martii <m4rtii@gmx.de>
Date: 2013-06-10 (Mon, 10 Jun 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -300,7 +300,7 @@ static int writeData(void* _call)
|
||||
memcpy (NalData, call->data + VideoPosition, NalLengthBytes);
|
||||
VideoPosition += NalLengthBytes;
|
||||
NalStart += NalLengthBytes;
|
||||
switch(NalLength) {
|
||||
switch(NalLengthBytes) {
|
||||
case 1: NalLength = (NalData[0]); break;
|
||||
case 2: NalLength = (NalData[0] << 8) | (NalData[1]); break;
|
||||
case 3: NalLength = (NalData[0] << 16) | (NalData[1] << 8) | (NalData[2]); break;
|
||||
|
Reference in New Issue
Block a user