History

avformat/rtsp: Use rtsp_st->stream_index

Fixes: out of array access Fixes: rtpdec_h264.c149/poc

Michael Niedermayer committed 3 years ago

Commit e4d5ac81 parent 90774321 file · +1 −1Browse files

Unified · Split

libavformat/rtsp.c+1−1
@@ -410,7 +410,7 @@ static void parse_fmtp(AVFormatContext *s, RTSPState *rt, · 409 unmodified lines
410410 if (rtsp_st->sdp_payload_type == payload_type &&
411411 rtsp_st->dynamic_handler &&
412412 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,
414414 rtsp_st->dynamic_protocol_context, line);
415415 }
416416 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t