[media] media: coda: Fix H.264 header alignment - v2
authorJavier Martin <javier.martin@vista-silicon.com>
Mon, 29 Oct 2012 11:34:59 +0000 (08:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 18:56:31 +0000 (16:56 -0200)
commit832fbb5aec6ec877ed9273a0b20520e3dc0b23b3
tree26be956144a2fbe141ef9dd400796ac85c525913
parent3f3f5c7f63dec5d6413075116cd6beee1e888d7b
[media] media: coda: Fix H.264 header alignment - v2

Length of H.264 headers is variable and thus it might not be
aligned for the coda to append the encoded frame. This causes
the first frame to overwrite part of the H.264 PPS.
In order to solve that, a filler NAL must be added between
the headers and the first frame to preserve alignment.

[mchehab@redhat.com: applied only v2 diff here, as v1 ended by mistakenly
 being applied]
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/coda.c