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,11 +744,11 @@ static int rtsp_read_header(AVFormatContext *s)
if (rt->initial_pause) { if (rt->initial_pause) {
/* do not start immediately */ /* do not start immediately */
} else { } else {
if ((ret = rtsp_read_play(s)) < 0) { ret = rtsp_read_play(s);
if (ret < 0)
goto fail; goto fail;
} }
} }
}
return 0; return 0;

Loading…
Cancel
Save