summaryrefslogtreecommitdiff
path: root/libavformat/omadec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/omadec.c')
-rw-r--r--libavformat/omadec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index 756ab1778a..c7625a8c20 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -197,8 +197,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;
}