aboutsummaryrefslogtreecommitdiffstats
path: root/compat/djgpp
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-10-08 07:41:15 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2020-01-08 20:32:14 +0100
commit94cdf82d53fe9be260dc6106634a9f9b218211bd (patch)
tree4ce863389a92f1b0194e27497042e7132f6ebf13 /compat/djgpp
parent198081efb7c7343349f0a7acc836f001c511e990 (diff)
downloadffmpeg-94cdf82d53fe9be260dc6106634a9f9b218211bd.tar.gz
avformat/utils: Remove redundant save+restore
If the size of the input packet is zero, av_grow_packet() used to call av_new_packet() which would initialize the packet and (in particular) reset the pos field. This behaviour (which was never documented and arguably always contradicted the documented behaviour) was changed in 2fe04630. This means that it is unnecessary to save and restore the packet's position in append_packet_chunked(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'compat/djgpp')
0 files changed, 0 insertions, 0 deletions