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)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 31 Jan 2016 23:35:37 +0000 (00:35 +0100)
commit60f0fde3092d18d4d36555962c192af8691a099c
tree80ee3210ee807b5f5685747ffa67c13947496414
parent77a44f577b644a328dcf90cde11d2ecae69eda05
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: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/libx264.c