Commit bc8b623b authored by Andreas Rheinhardt's avatar Andreas Rheinhardt Committed by Mark Thompson

h265_metadata: Correct error check

Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
parent ddd53ef6
...@@ -395,7 +395,7 @@ static int h265_metadata_filter(AVBSFContext *bsf, AVPacket *pkt) ...@@ -395,7 +395,7 @@ static int h265_metadata_filter(AVBSFContext *bsf, AVPacket *pkt)
err = ff_cbs_insert_unit_content(ctx->cbc, au, err = ff_cbs_insert_unit_content(ctx->cbc, au,
0, HEVC_NAL_AUD, aud, NULL); 0, HEVC_NAL_AUD, aud, NULL);
if (err) { if (err < 0) {
av_log(bsf, AV_LOG_ERROR, "Failed to insert AUD.\n"); av_log(bsf, AV_LOG_ERROR, "Failed to insert AUD.\n");
goto fail; goto fail;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment