avcodec/dca_core: probe extension headers directly
authorfoo86 <foobaz86@gmail.com>
Mon, 10 Jul 2017 14:11:39 +0000 (17:11 +0300)
committerJames Almer <jamrial@gmail.com>
Wed, 19 Jul 2017 00:04:58 +0000 (21:04 -0300)
commit902cd30e9b72d3ad5dfe01b27e3dd0928ad88562
tree09e7aa2db7abd730cebbf2115199267c95bd078f
parent07a7f08b1e4b4679a3f9a60ecc45cae5078bc414
avcodec/dca_core: probe extension headers directly

Avoid using bitstream reader in a non-standard way by directly accessing
index. Use bit shifting/masking operations instead.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/dca_core.c