X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/4a0bd6b9ac92e6a63f0d196affd3fcf7aaf32b0a..03cc56ca43c3231d790cfa27d3ee4d5eab939e81:/examples/am7xxx-play.c?ds=inline diff --git a/examples/am7xxx-play.c b/examples/am7xxx-play.c index f2e2a60..3230e67 100644 --- a/examples/am7xxx-play.c +++ b/examples/am7xxx-play.c @@ -440,7 +440,7 @@ static int am7xxx_play(const char *input_format_string, } } end_while: - if (!output_ctx.raw_output) + if (!output_ctx.raw_output && got_packet) av_free_packet(&out_packet); av_free_packet(&in_packet); }