diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-03-11 03:22:21 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-03-11 03:22:21 +0300 |
commit | c04c3282b4334ff64cfd69d40fea010602e830fd (patch) | |
tree | b07e0f447e3146669703bf86229925a44ebd628e /libavformat/rtsp.c | |
parent | e7c8206e5c4ee83eccb487583331fb39ba73a136 (diff) |
simplify AVFormatParameters NULL checks
Originally committed as revision 5146 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index a29fdfc4e7..31af3c9c89 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -994,7 +994,7 @@ static int rtsp_read_header(AVFormatContext *s, rt->state = RTSP_STATE_IDLE; rt->seek_timestamp = 0; /* default is to start stream at position zero */ - if (ap && ap->initial_pause) { + if (ap->initial_pause) { /* do not start immediately */ } else { if (rtsp_read_play(s) < 0) { |