Changeset 8b1be6e5 in ffmpeg
- Timestamp:
-
Sep 18, 2019, 8:53:00 PM
(5 years ago)
- Author:
- Michael Niedermayer <michael@niedermayer.cc>
- Branches:
- master
- Children:
- 90f647c2
- Parents:
- 1d86e4b3
- git-author:
- Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (08/19/19 21:56:18)
- git-committer:
- Michael Niedermayer <michael@niedermayer.cc> (09/18/19 20:53:00)
- Message:
-
avformat/internal: Improve documentation of ff_packet_list_get
The documentation of ff_packet_list_get currently didn't match the
actual usage:
- It said that the destination packet is supposed to be initialized.
But this makes no sense given that it will be overwritten completely and
flacenc, mp3enc and ttaenc ignored this.
- ff_packet_list_get returns an int, although it can't fail in case the
packet list is not empty (for which there is an assert). Again, several
callers didn't check for any return value.
In both cases, the documentation has been adapted to match actual usage.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
(No files)
-