mmal: Fix AVBufferRef usage
authorwm4 <nfxjfg at googlemail.com>
Thu, 24 Sep 2015 06:49:41 +0000 (08:49 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 24 Sep 2015 08:34:46 +0000 (10:34 +0200)
commita9b8c638cfe2f82191db65e3e3a39f3b35df81f5
tree1103a5ea95cdcbbc273386acb1fc4833110b0bf1
parent49623f531972be5dc2dd8c1b4b8748cad7c424ff
mmal: Fix AVBufferRef usage

AVBufferRef.data and AVPacket.data don't need to have the same value.
AVPacket could point anywhere into the buffer. Likewise, the sizes
don't need to be the same.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/mmaldec.c