flacenc: Clamp user-supplied min/max prediction orders
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 16 Nov 2015 15:05:54 +0000 (16:05 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 16 Nov 2015 15:56:42 +0000 (16:56 +0100)
commit79d89cf2f4b62eeb653fd8139041c87e75f7ca65
tree3797057ba0ed73509353a75169871aaab3626c59
parent4bb1070c154e49d35805fbcdac9c9e92f702ef96
flacenc: Clamp user-supplied min/max prediction orders

This mimics what the code does internally for default order values.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/flacenc.c