• Max Kellermann's avatar
    ffmpeg: don't pass pointer as hexadecimal string · a7888c49
    Max Kellermann authored
    Casting a pointer to some sort of integer and formatting it into a
    string isn't valid.  A pointer derived from this hex string won't work
    reliably.  Since ffmpeg doesn't provide a nice API for passing our
    pointer, we have to think of a different hack: ffmpeg passes the exact
    URL pointer to mpdurl_open(), and we can make this string part of a
    struct.  This reduces the problem to casting the string back to the
    struct.
    
    This is still a workaround, but this is "sort of portable", unless the
    ffmpeg people start messing with the URL pointer (which would be valid
    according to the API definition).
    a7888c49
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...