Browse Source

avio: Fix "warning: initialization from incompatible pointer type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Michael Niedermayer 13 years ago
parent
commit
6679271700
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/avio.c

+ 1
- 1
libavformat/avio.c View File

@@ -86,7 +86,7 @@ const AVClass ffurl_context_class = {

const char *avio_enum_protocols(void **opaque, int output)
{
URLProtocol **p = opaque;
URLProtocol **p = (URLProtocol **)opaque;
*p = ffurl_protocol_next(*p);
if (!*p) return NULL;
if ((output && (*p)->url_write) || (!output && (*p)->url_read))


Loading…
Cancel
Save