mirror of https://github.com/FFmpeg/FFmpeg.git
av_new_packet() already sets the size. And if the packet is not allocated by av_new_packet() (which seems to be impossible atm), both pkt->size as well as size are 0, so setting it again is unnecessary in this scenario, too. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/350/head
parent
ebd485db92
commit
901251d59b
1 changed files with 0 additions and 1 deletions
Loading…
Reference in new issue