Revision f87b1b37 libavformat/utils.c
libavformat/utils.c | ||
---|---|---|
631 | 631 |
hack needed to handle RTSP/TCP */ |
632 | 632 |
if (!fmt || !(fmt->flags & AVFMT_NOFILE)) { |
633 | 633 |
/* if no file needed do not try to open one */ |
634 |
if ((err=avio_open(&pb, filename, URL_RDONLY)) < 0) {
|
|
634 |
if ((err=avio_open(&pb, filename, AVIO_RDONLY)) < 0) {
|
|
635 | 635 |
goto fail; |
636 | 636 |
} |
637 | 637 |
if (buf_size > 0) { |
Also available in: Unified diff