Browse Source

avcodec/h264_metadata_bsf: Don't use unitialized value

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
tags/n4.4
Andreas Rheinhardt 5 years ago
parent
commit
ee1d1c4b37
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h264_metadata_bsf.c

+ 1
- 1
libavcodec/h264_metadata_bsf.c View File

@@ -528,7 +528,7 @@ static int h264_metadata_update_fragment(AVBSFContext *bsf, AVPacket *pkt,
if (pkt)
ctx->done_first_au = 1;

return err;
return 0;
}

static const CBSBSFType h264_metadata_type = {


Loading…
Cancel
Save