This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
hevc_mvs: initialize the temporal MV in case of missing ref
The caller expects the MV to always be initialized.
tags/n2.4.3
Anton Khirnov
Vittorio Giovara
11 years ago
parent
ff24824a72
commit
de31f85707
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
libavcodec/hevc_mvs.c
+ 3
- 1
libavcodec/hevc_mvs.c
View File
@@ -257,8 +257,10 @@ static int temporal_luma_motion_vector(HEVCContext *s, int x0, int y0,
HEVCFrame *ref = s->ref->collocated_ref;
if (!ref)
if (!ref) {
memset(mvLXCol, 0, sizeof(*mvLXCol));
return 0;
}
tab_mvf = ref->tab_mvf;
colPic = ref->poc;
Write
Preview
Loading…
Cancel
Save