commit | 04ed61b1004282a632cdc1277d93183e15a8df93 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Wed Aug 07 14:57:20 2013 +0300 |
committer | Martin Storsjo <martin@martin.st> | Tue Feb 11 21:05:39 2014 +0100 |
tree | fea7e72e3e4396de890ebfc6a16a05dd7959fb76 | |
parent | 5930e8ebdacf3a59c13eef11fd03658ba58b443e [diff] |
avcenc: Only do startcode escaping if the next byte requires it Section 7.4.1 in the H.264 standard says that the only valid bytes to follow a sequence that starts with 0x000003 are 0x00, 0x01, 0x02 or 0x03. This makes EncodeDecodeTest pass properly when decoding using OMX.google.h264.decoder, which is strict about the forbidden escape sequences. Change-Id: Ice113d9b934015003ea9cb10d0b21cee4d18d774