---
libavformat/movenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 27421ba..342679e 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3112,7 +3112,7 @@ static int mov_flush_fragment(AVFormatContext *s)
int buf_size;
for (i = 0; i < mov->nb_streams; i++)
- if (!mov->tracks[i].entry)
+ if (mov->tracks[i].start_dts == AV_NOPTS_VALUE)
break;
/* Don't write the initial moov unless all tracks have data */
if (i < mov->nb_streams)
--
1.9.3 (Apple Git-50)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel