mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-16 07:32:34 +03:00
h264: fix () placement
Fixes null pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
1 parent
2d8d63a9a0
commit
c13e4e288c
1 file changed
+1
-1
+1
-1
@@ -2589,7 +2589,7 @@ static int h264_slice_header_init(H264Context *h, int reinit)
|
||||
return ret;
|
||||
}
|
||||
} else {
|
||||
if ((ret = ff_MPV_common_init(s) < 0)) {
|
||||
if ((ret = ff_MPV_common_init(s)) < 0) {
|
||||
av_log(h->s.avctx, AV_LOG_ERROR, "ff_MPV_common_init() failed.\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user