aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-12-14 23:19:21 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-03-06 00:58:31 +0100
commitc177520f675945bf884223ea72bc68b7a4bea30f (patch)
tree39d17d8619e59733be78be41d1cda3344aa95933 /libavformat
parent518bbe9eac0da3bdf259e007e7031a7bccacbe8e (diff)
downloadffmpeg-c177520f675945bf884223ea72bc68b7a4bea30f.tar.gz
h264_mp4toannexb: Copy one NAL unit at a time
If processing an input NAL unit triggers the insertion of data from extradata in front of said NAL unit, the output packet is grown (i.e. reallocated) once to accomodate both the new extradata as well as the input NAL unit itself; this has been changed: In such a situation, the packet is now grown twice. While this is bad for performance, it allows to simplify the code and ultimately to stop reallocating the packet altogether. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions