Merge commit '0ddc53dabb'
* commit '0ddc53dabb': mpegvideo: synchronize AVFrame pointers in ERContext fully Conflicts: libavcodec/mpegvideo.c See:8ef9dcf1d7Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
67911cc57b
1 changed files with 4 additions and 1 deletions
|
|
@ -3231,8 +3231,11 @@ void ff_mpeg_set_erpic(ERPicture *dst, Picture *src)
|
|||
int i;
|
||||
|
||||
memset(dst, 0, sizeof(*dst));
|
||||
if (!src)
|
||||
if (!src) {
|
||||
dst->f = NULL;
|
||||
dst->tf = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
dst->f = src->f;
|
||||
dst->tf = &src->tf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue