Browse Source

ff_ac3_apply_rematrixing: set flags to NULL

This makes the code more robust

Related to CID703820
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
712287ef45
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ac3enc.c

+ 1
- 1
libavcodec/ac3enc.c View File

@@ -273,7 +273,7 @@ void ff_ac3_apply_rematrixing(AC3EncodeContext *s)
int nb_coefs;
int blk, bnd, i;
int start, end;
uint8_t *flags;
uint8_t *flags = NULL;

if (!s->rematrixing_enabled)
return;


Loading…
Cancel
Save