avformat/rtspdec: cosmetics

Make error check style consistent with rest of function.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
pull/358/head
Andriy Gelman 4 years ago
parent 122fcf1f40
commit 9a70b6f5b8
  1. 4
      libavformat/rtspdec.c

@ -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…
Cancel
Save