avformat/movenc: Use dedicated pointer for access to MOVTrack
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Thu, 16 Dec 2021 01:16:29 +0000 (02:16 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Tue, 4 Jan 2022 04:13:54 +0000 (05:13 +0100)
commit029598bd4aa696253370c4429abe3c2c95f2e788
treeb2705d49d86390e9785c584342cf115fe58288b4
parent41457e536c059d265844b1a66c906a9a842f73ab
avformat/movenc: Use dedicated pointer for access to MOVTrack

Improves readability and slightly decreases codesize.
While just at it, also remove a check whether the packet list is
nonempty before freeing it, as freeing an empty list is fine
and basically a no-op.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavformat/movenc.c