Commit 18b59956 authored by Luca Barbato's avatar Luca Barbato Committed by Martin Storsjö

movenc: remove redundant check

The proper check is already in mov_write_header.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 9676d8eb
......@@ -2816,9 +2816,6 @@ static int mov_write_packet_internal(AVFormatContext *s, AVPacket *pkt)
uint8_t *reformatted_data = NULL;
int64_t frag_duration = 0;
if (!s->pb->seekable && !(mov->flags & FF_MOV_FLAG_EMPTY_MOOV))
return 0; /* Can't handle that */
if (!size) return 0; /* Discard 0 sized packets */
if (trk->entry)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment