mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 05:17:42 +00:00
avutil/tx: zero whole array, not only one element
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
1 parent
c64cff64a2
commit
56e0a883c1
1 file changed
+1
-1
+1
-1
@@ -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