Browse Source

avformat/omadec: Fix { typo

Fixes CID1324299

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Michael Niedermayer 10 years ago
parent
commit
8deb1fdac8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/omadec.c

+ 2
- 2
libavformat/omadec.c View File

@@ -193,8 +193,8 @@ static int nprobe(AVFormatContext *s, uint8_t *enc_header, unsigned size,
av_des_init(av_des, n_val, 192, 1);
while (datalen-- > 0) {
av_des_crypt(av_des, oc->r_val, &enc_header[pos], 2, NULL, 1);
kset(s, oc->r_val, NULL, 16); {
if (!rprobe(s, enc_header, size, oc->r_val))
kset(s, oc->r_val, NULL, 16);
if (!rprobe(s, enc_header, size, oc->r_val)) {
av_free(av_des);
return 0;
}


Loading…
Cancel
Save