On Mon, Aug 19, 2019 at 11:56:19PM +0200, Andreas Rheinhardt wrote:
> 1. Instead of relying on ff_packet_list_get to get the oldest element in
> an AVPacketList, ff_read_packet used its own ad-hoc code. Said code
> forgot to set the end of the list to NULL if the last element of the
> list has been removed, thereby leaving the list in an inconsistent state.
> 2. Furthermore, if the list was not empty, the oldest element of the
> list would always be copied into another packet structure before it was
> known whether the oldest entry of the list would be removed. This makes
> the ownership confusing and potentially copies unnecessarily.
> 
> Both of these issues have been fixed. ff_packet_list_get is used now.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com>
> ---
> No changes since last time.

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"You are 36 times more likely to die in a bathtub than at the hands of a
terrorist. Also, you are 2.5 times more likely to become a president and
2 times more likely to become an astronaut, than to die in a terrorist
attack." -- Thoughty2

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to