mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-01-12 00:06:51 +08:00
avutil/tx: zero whole array, not only one element
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
@@ -284,7 +284,7 @@ static void reset_ctx(AVTXContext *s, int free_sub)
|
||||
* ff_tx_init_subtx() call is made. */
|
||||
s->nb_sub = 0;
|
||||
s->opaque = NULL;
|
||||
memset(s->fn, 0, sizeof(*s->fn));
|
||||
memset(s->fn, 0, sizeof(s->fn));
|
||||
}
|
||||
|
||||
void ff_tx_clear_ctx(AVTXContext *s)
|
||||
|
||||
Reference in New Issue
Block a user