Mercurial > libavformat.hg
diff mp3.c @ 5664:6c380241df7c libavformat
Fix two problems (no idea how this ever worked):
- the return value of url_open_dyn_*buf() is 0 on success, so using
if (!(res = url_open_dyn_*buf())) return res; is not going to work
- url_open_dyn_packet_buf actually writes the max_packet_size before
each piece of data. Feeding this to the ASF demuxer will never work.
Therefore, use url_open_dyn_buf() instead.
author | rbultje |
---|---|
date | Tue, 16 Feb 2010 19:26:49 +0000 |
parents | 6d530eb42996 |
children | 74142991b333 |