History

avcodec/mpegvideo: Don't reset thread_context ptrs unnecessarily

They are freed with av_freep(), so the pointers are already consistent.

Andreas Rheinhardt committed 1 year ago

Commit b4e71351 parent 6f841601 file · +0 −1Browse files

Unified · Split

libavcodec/mpegvideo.c+0−1
@@ -427,7 +427,6 @@ av_cold int ff_mpv_common_init(MpegEncContext *s) · 426 unmodified lines
427427 }
428428
429429 s->context_initialized = 1;
430− memset(s->thread_context, 0, sizeof(s->thread_context));
431430 s->thread_context[0] = s;
432431 s->slice_context_count = nb_slices;
433432

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t