]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpenc_h264.c
Fix concat seeking SEEK_END case.
[ffmpeg] / libavformat / rtpenc_h264.c
index 26bd4a96a9c7ed5af054f066f6c4a857dac6d930..2ba0771a97153ae999e641815c6ba7d323b65e37 100644 (file)
@@ -56,7 +56,7 @@ static void nal_send(AVFormatContext *s1, const uint8_t *buf, int size, int last
         }
         s->buf[1] |= 1 << 6;
         memcpy(&s->buf[2], buf, size);
-        ff_rtp_send_data(s1, s->buf, size + 2, 1);
+        ff_rtp_send_data(s1, s->buf, size + 2, last);
     }
 }