Avoiding arithmetic on NULL pointer v1.3-rc
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 29 May 2018 04:35:02 +0000 (00:35 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 29 May 2018 04:35:02 +0000 (00:35 -0400)
commit693098f6ee1783ec1f0d0390ddcb4f96663bf088
tree99b8c266740bd8965483d438f69f3c8a6de70f5e
parentd5a8136218977ef1bdcadb2c883b96106755654d
Avoiding arithmetic on NULL pointer

Causes a warning with -Wnull-pointer-arithmetic and the code wasn't doing
anything anyway (the ctl call ignores NULLs)
src/opus_encoder.c