dcaenc: fix segfault when attempting to encode with invalid samplerate
authorRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 5 May 2018 17:42:53 +0000 (18:42 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 5 May 2018 18:41:30 +0000 (19:41 +0100)
commitc1b282dc74d801f943db282e89f7729e90897669
tree8f8e0235e7b40f233e2361bc0922640c629d2c94
parenta1c6fc773f941fd6a6ef3f12f102a7902ae69453
dcaenc: fix segfault when attempting to encode with invalid samplerate

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/dcaenc.c