mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
[transcode] Implement new ffmpeg decoding methods: avcodec_send_packet/avcodec_receive_frame
This commit is contained in:
@@ -90,7 +90,9 @@ start(struct player_source *ps)
|
||||
static int
|
||||
stop(struct player_source *ps)
|
||||
{
|
||||
transcode_cleanup(ps->input_ctx);
|
||||
struct transcode_ctx *ctx = ps->input_ctx;
|
||||
|
||||
transcode_cleanup(&ctx);
|
||||
|
||||
ps->input_ctx = NULL;
|
||||
ps->setup_done = 0;
|
||||
|
||||
Reference in New Issue
Block a user