You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/mpegvideo: Don't reset thread_context ptrs unnecessarily
They are freed with av_freep(), so the pointers are already consistent. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -427,7 +427,6 @@ av_cold int ff_mpv_common_init(MpegEncContext *s)
|
||||
}
|
||||
|
||||
s->context_initialized = 1;
|
||||
memset(s->thread_context, 0, sizeof(s->thread_context));
|
||||
s->thread_context[0] = s;
|
||||
s->slice_context_count = nb_slices;
|
||||
|
||||
|
Reference in New Issue
Block a user