Changeset 73ee53f3 in ffmpeg

Timestamp:
Nov 14, 2019, 3:30:51 PM (5 years ago)
Author:
James Almer <jamrial@gmail.com>
Branches:
master
Children:
bfa8272f
Parents:
f01f9f17
git-author:
James Almer <jamrial@gmail.com> (11/09/19 23:08:17)
git-committer:
James Almer <jamrial@gmail.com> (11/14/19 15:30:51)
Message:

avcodec/encode: add missing assert to avcodec_receive_packet()

Encoders must return reference counted packets.

This was checked only for encoders using the AVCodec->encode2() API, while
blindly accepting whatever encoders using the AVCodec->receive_packet() API
were returning.

Signed-off-by: James Almer <jamrial@gmail.com>

(No files)

Note: See TracChangeset for help on using the changeset viewer.