es_out: fix ES_OUT_SET_ES_FMT
commit369444cff257f2d6c6567ad996497d6f16d186b5
authorThomas Guillem <thomas@gllm.fr>
Wed, 18 Jul 2018 09:13:57 +0000 (18 11:13 +0200)
committerThomas Guillem <thomas@gllm.fr>
Fri, 20 Jul 2018 07:34:37 +0000 (20 09:34 +0200)
treeced7c13d71970fbcab61633c9ebd368a122947de
parent795482a35e4cccd778549576759c10e1f3cd4492
es_out: fix ES_OUT_SET_ES_FMT

Drain the decoder before destroying it, and check if the cat is the same.
src/input/es_out.c