ac3enc: fix bug in stereo rematrixing decision.
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 16 Feb 2011 00:30:24 +0000 (00:30 +0000)
committerMans Rullgard <mans@mansr.com>
Wed, 16 Feb 2011 23:39:57 +0000 (23:39 +0000)
commit5b54d4b376fbd2c291b8a6dba7d425e28f654bcf
treebdedc6ef6bb6ac514167b44d8ad4079d29f14317
parent9fcae9735e3b97366dcee9ca3c2f6cf4faf6756f
ac3enc: fix bug in stereo rematrixing decision.

The rematrixing strategy reuse flags are not reset between frames, so they
need to be initialized for all blocks, not just block 0.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/ac3enc.c
tests/ref/acodec/ac3_fixed
tests/ref/seek/ac3_rm