Skip to content
Browse files

movenc: remove redundant check

The proper check is already in mov_write_header.

Signed-off-by: Martin Storsjö <martin@martin.st>
  • Loading branch information...
1 parent 9676d8e commit 18b59956e0e94017f1b519bb42c7c937b2f9f8a4 @lu-zero lu-zero committed with mstorsjo Apr 11, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 libavformat/movenc.c
View
3 libavformat/movenc.c
@@ -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)

0 comments on commit 18b5995

Please sign in to comment.
Something went wrong with that request. Please try again.