Fixes: out of array access Fixes: rtpdec_h264.c149/poc
Unified · Split
| @@ -410,7 +410,7 @@ static void parse_fmtp(AVFormatContext *s, RTSPState *rt, · 409 unmodified lines | |||
| 410 | if (rtsp_st->sdp_payload_type == payload_type && | 410 | if (rtsp_st->sdp_payload_type == payload_type && |
| 411 | rtsp_st->dynamic_handler && | 411 | rtsp_st->dynamic_handler && |
| 412 | rtsp_st->dynamic_handler->parse_sdp_a_line) { | 412 | rtsp_st->dynamic_handler->parse_sdp_a_line) { |
| 413 | rtsp_st->dynamic_handler->parse_sdp_a_line(s, i, | 413 | rtsp_st->dynamic_handler->parse_sdp_a_line(s, rtsp_st->stream_index, |
| 414 | rtsp_st->dynamic_protocol_context, line); | 414 | rtsp_st->dynamic_protocol_context, line); |
| 415 | } | 415 | } |
| 416 | } | 416 | } |