mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
53db591a2e
commit
ee1d1c4b37
|
@ -528,7 +528,7 @@ static int h264_metadata_update_fragment(AVBSFContext *bsf, AVPacket *pkt,
|
||||||
if (pkt)
|
if (pkt)
|
||||||
ctx->done_first_au = 1;
|
ctx->done_first_au = 1;
|
||||||
|
|
||||||
return err;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const CBSBSFType h264_metadata_type = {
|
static const CBSBSFType h264_metadata_type = {
|
||||||
|
|
Loading…
Reference in New Issue