mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '0ddc53dabbc6f636d062b187ea27934610aaad30'
* commit '0ddc53dabbc6f636d062b187ea27934610aaad30':
mpegvideo: synchronize AVFrame pointers in ERContext fully
Conflicts:
libavcodec/mpegvideo.c
See: 8ef9dcf1d7
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
67911cc57b
|
@ -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…
Reference in New Issue