mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/libvpxenc: drop a useless condition
A non-NULL packet is always passed to frame_data_apply().
This commit is contained in:
parent
5bda4ec6c3
commit
62a241e505
@ -401,7 +401,7 @@ static int frame_data_apply(AVCodecContext *avctx, AVFifo *fifo, AVPacket *pkt)
|
||||
{
|
||||
FrameData fd;
|
||||
uint8_t *data;
|
||||
if (!pkt || av_fifo_peek(fifo, &fd, 1, 0) < 0)
|
||||
if (av_fifo_peek(fifo, &fd, 1, 0) < 0)
|
||||
return 0;
|
||||
if (fd.pts != pkt->pts)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user