summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_mpa_robust.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtpdec_mpa_robust.c')
-rw-r--r--libavformat/rtpdec_mpa_robust.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_mpa_robust.c b/libavformat/rtpdec_mpa_robust.c
index 6442a427d0..86c8958d5c 100644
--- a/libavformat/rtpdec_mpa_robust.c
+++ b/libavformat/rtpdec_mpa_robust.c
@@ -166,7 +166,7 @@ static int mpa_robust_parse_packet(AVFormatContext *ctx, PayloadContext *data,
"Received packet without a start fragment; dropping.\n");
return AVERROR(EAGAIN);
}
- if (adu_size = data->adu_size ||
+ if (adu_size != data->adu_size ||
data->timestamp != *timestamp) {
ffio_free_dyn_buf(&data->fragment);
av_log(ctx, AV_LOG_ERROR, "Invalid packet received\n");