mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avformat/rtspdec: cosmetics
Make error check style consistent with rest of function. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
parent
122fcf1f40
commit
9a70b6f5b8
@ -744,9 +744,9 @@ static int rtsp_read_header(AVFormatContext *s)
|
||||
if (rt->initial_pause) {
|
||||
/* do not start immediately */
|
||||
} else {
|
||||
if ((ret = rtsp_read_play(s)) < 0) {
|
||||
ret = rtsp_read_play(s);
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user