summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-04-11 03:37:13 -0700
committerMartin Storsjö <martin@martin.st>2012-04-11 14:38:36 +0300
commit18b59956e0e94017f1b519bb42c7c937b2f9f8a4 (patch)
treec4ef4f79b068154f04f4a2846ad7ed777fd5bd3b /libavformat
parent9676d8eb67b00e1bb52e448c20c8f5cb6ad5e1ef (diff)
movenc: remove redundant check
The proper check is already in mov_write_header. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/movenc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 5777443db2..ce656148a5 100644
--- a/libavformat/movenc.c
+++ b/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)