X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmmst.c;h=93ad073869995492f01aa4cdcd5e77effb6f2553;hb=e5356ebf2216918ad6351d4caa8b58c881c4b0ea;hp=9d7fd7471c24e9bd5457e9bb2fd3c8ccaa75f858;hpb=7e58050590c556643869a1cc57215026ff88b0db;p=ffmpeg diff --git a/libavformat/mmst.c b/libavformat/mmst.c index 9d7fd7471c2..93ad0738699 100644 --- a/libavformat/mmst.c +++ b/libavformat/mmst.c @@ -606,7 +606,7 @@ static int mms_read(URLContext *h, uint8_t *buf, int size) // copy the data to the packet buffer. result = ff_mms_read_data(mms, buf, size); if (result == 0) { - av_dlog(NULL, "read asf media paket size is zero!\n"); + av_dlog(NULL, "Read ASF media packet size is zero!\n"); break; } } @@ -620,9 +620,10 @@ static int mms_read(URLContext *h, uint8_t *buf, int size) } URLProtocol ff_mmst_protocol = { - .name = "mmst", - .url_open = mms_open, - .url_read = mms_read, - .url_close = mms_close, + .name = "mmst", + .url_open = mms_open, + .url_read = mms_read, + .url_close = mms_close, .priv_data_size = sizeof(MMSTContext), + .flags = URL_PROTOCOL_FLAG_NETWORK, };