decoder: make AbortPictures() impl-dependant
commite1c9cefe5b0de71c4a3a512562ccee7868fba182
authorRomain Vimont <rom1v@videolabs.io>
Tue, 24 Sep 2019 09:23:08 +0000 (24 11:23 +0200)
committerThomas Guillem <thomas@gllm.fr>
Wed, 2 Oct 2019 07:03:46 +0000 (2 09:03 +0200)
treedf2a7f67c86bd12fd1937088737e62eaa5297f59
parent003a58c142692b2d4832972eef8fde8536b641f4
decoder: make AbortPictures() impl-dependant

The API function decoder_AbortPictures() assumed a specific private
implementation (the one from input/decoder.c), so calling it with
another decoder implementation was undefined.

Instead, expose this function in decoder owner ops, and delegate the
call to its specific implementation.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
include/vlc_codec.h
src/input/decoder.c
src/input/decoder_helpers.c