mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-14 02:50:11 +01:00
memory leak
Originally committed as revision 4282 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -3491,6 +3491,7 @@ static void flush_dpb(AVCodecContext *avctx){
|
|||||||
h->delayed_pic[i]= NULL;
|
h->delayed_pic[i]= NULL;
|
||||||
h->delayed_output_pic= NULL;
|
h->delayed_output_pic= NULL;
|
||||||
idr(h);
|
idr(h);
|
||||||
|
h->s.current_picture_ptr->reference= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user