avcodec/flac_parser: Remove superfluous checks
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 6 Oct 2019 05:01:17 +0000 (07:01 +0200)
committerPaul B Mahol <onemda@gmail.com>
Mon, 7 Oct 2019 20:53:19 +0000 (22:53 +0200)
commita1701e7591e5fcbe9111218cb583a8ea0fb0b1da
tree9dfd8d250ffaee0dc6fe4ab23cbe5525812f7b74
parent047a6d396f6919c469e35d6ef75bd9cae5a87523
avcodec/flac_parser: Remove superfluous checks

For a parser, the input buffer is always != NULL: In case of flushing,
the indicated size of the input buffer will be zero and the input buffer
will point to a zeroed buffer of size 0 + AV_INPUT_BUFFER_PADDING.
Therefore one does not need to check for whether said buffer is NULL or
not.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/flac_parser.c