unnecessary brackets removed

- distinction ffmpeg versions
This commit is contained in:
Frankenstone
2021-05-17 21:07:45 +02:00
committed by Thilo Graf
parent 9c243675f5
commit 8ead7f9805
6 changed files with 14 additions and 14 deletions

View File

@@ -251,7 +251,7 @@ bool WriterPCM::Write(AVPacket *packet, int64_t pts)
decoded_frame = NULL;
}
#if (LIBAVFORMAT_VERSION_INT < AV_VERSION_INT( 57,25,101 ))
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(57,25,101)
AVCodec *codec = avcodec_find_decoder(c->codec_id);
if (!codec) {
fprintf(stderr, "%s %d: avcodec_find_decoder(%llx)\n", __func__, __LINE__, (unsigned long long) c->codec_id);