]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpdec_qdm2.c
smoothstreamingenc: explict cast to avoid overflow
[ffmpeg] / libavformat / rtpdec_qdm2.c
index a2ce510d26bc97822340e965aded3d2c5d8fe9af..0d7b5bb87a601d5003cd23906d5a19a0f036cbb0 100644 (file)
@@ -237,7 +237,8 @@ static int qdm2_restore_block(PayloadContext *qdm, AVStream *st, AVPacket *pkt)
 static int qdm2_parse_packet(AVFormatContext *s, PayloadContext *qdm,
                              AVStream *st, AVPacket *pkt,
                              uint32_t *timestamp,
-                             const uint8_t *buf, int len, int flags)
+                             const uint8_t *buf, int len, uint16_t seq,
+                             int flags)
 {
     int res = AVERROR_INVALIDDATA, n;
     const uint8_t *end = buf + len, *p = buf;