Originally committed as revision 25461 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -574,7 +574,7 @@ static void enqueue_packet(RTPDemuxContext *s, uint8_t *buf, int len) |
| 574 | 574 |
|
| 575 | 575 |
static int has_next_packet(RTPDemuxContext *s) |
| 576 | 576 |
{
|
| 577 |
- return s->queue && s->queue->seq == s->seq + 1; |
|
| 577 |
+ return s->queue && s->queue->seq == (uint16_t) (s->seq + 1); |
|
| 578 | 578 |
} |
| 579 | 579 |
|
| 580 | 580 |
int64_t ff_rtp_queued_packet_time(RTPDemuxContext *s) |