Skip to content

Commit ee1d1c4

Browse files
committed
avcodec/h264_metadata_bsf: Don't use unitialized value
Reviewed-by: Mark Thompson <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
1 parent 53db591 commit ee1d1c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libavcodec/h264_metadata_bsf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ static int h264_metadata_update_fragment(AVBSFContext *bsf, AVPacket *pkt,
528528
if (pkt)
529529
ctx->done_first_au = 1;
530530

531-
return err;
531+
return 0;
532532
}
533533

534534
static const CBSBSFType h264_metadata_type = {

0 commit comments

Comments
 (0)