diff options
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index d9832bbf1f..b0631c7abf 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2493,6 +2493,7 @@ static int rtp_read_header(AVFormatContext *s) av_log(s, AV_LOG_ERROR, "Unable to receive RTP payload type %d " "without an SDP file describing it\n", payload_type); + ret = AVERROR_INVALIDDATA; goto fail; } if (par->codec_type != AVMEDIA_TYPE_DATA) { |