libx264: Make sure to preserve default option values
authorVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 28 Jan 2016 16:38:27 +0000 (11:38 -0500)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 28 Jan 2016 17:45:40 +0000 (18:45 +0100)
commitb340bd8a58c32453172404a8e4240e3317e341da
treef9b8d36a5ab0bb82e4ef53080a4ad43f8a43c3e4
parentcb06be6136dd9860743e2e5ef7bc31f0cfb6c456
libx264: Make sure to preserve default option values

The private options chromaoffset, sc_threshold, and noise_reduction
were set to 0 rather than -1, and were always initializing values
in libx264 rather than letting the library use its default.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/libx264.c