avformat/aiffenc: Remove wrong and redundant check
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 2 Oct 2019 04:04:12 +0000 (06:04 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Oct 2019 17:34:23 +0000 (19:34 +0200)
commitbe0d3a2df1a1ec627ba50f535f61f7fcd359f6a4
tree6e4d048af0b121f60ab5e13439468f0e253b6835
parentc694fc5759719de577fd0751103e20b6ce902a8f
avformat/aiffenc: Remove wrong and redundant check

The check "if (!pb->seekable & AVIO_SEEKABLE_NORMAL)" is wrong, because
! has higher precendence than &. But it is also redundant, because this
part of the code is only ever reached when the AVIO_SEEKABLE_NORMAL flag
is set for pb. So simply remove the check.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/aiffenc.c