prevent segfault when encoding application calls compress_end with NULL codec context (PerfectDark at yandex dot ru)
Changed paths: