Skip to content

Commit

Permalink
fixed #2493
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Jun 15, 2023
1 parent be23476 commit 6a748cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters/reframe_mp3.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ void id3dmx_flush(GF_Filter *filter, u8 *id3_buf, u32 id3_buf_size, GF_FilterPid
break;
}

if (buf_alloc<=fsize) {
if (buf_alloc <= fsize+2) {
_buf = gf_realloc(_buf, fsize+3);
buf_alloc = fsize+3;
}
Expand Down

0 comments on commit 6a748cc

Please sign in to comment.