mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-15 03:20:00 +01:00
lavc/bsf/smpte436m_to_eia608: fix memory leak -- forgot to free input av_packet
Signed-off-by: Jacob Lifshay <programmerjake@gmail.com>
This commit is contained in:
@@ -68,6 +68,8 @@ static int ff_smpte436m_to_eia608_filter(AVBSFContext *ctx, AVPacket *out)
|
|||||||
// verified it won't fail by running it above
|
// verified it won't fail by running it above
|
||||||
av_smpte_291m_anc_8bit_extract_cta_708(&anc, out->data, ctx);
|
av_smpte_291m_anc_8bit_extract_cta_708(&anc, out->data, ctx);
|
||||||
|
|
||||||
|
av_packet_free(&in);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (ret != AVERROR_EOF)
|
if (ret != AVERROR_EOF)
|
||||||
|
|||||||
Reference in New Issue
Block a user