libeplayer3: minor adjustments

This commit is contained in:
martii
2014-05-02 13:34:08 +02:00
parent e2d9a58fc5
commit dff15731cb
3 changed files with 4 additions and 4 deletions

View File

@@ -107,7 +107,7 @@ int InsertPesHeader(uint8_t *data, int size, uint8_t stream_id, int64_t pts, int
PutBits(&ld2, 0x1, 8); // Start Code
PutBits(&ld2, pic_start_code & 0xff, 8); // 00, for picture start
PutBits(&ld2, (pic_start_code >> 8) & 0xff, 8); // For any extra information (like in mpeg4p2, the pic_start_code)
//14 + 4 = 18
//14 + 5 = 19
}
FlushBits(&ld2);