diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-02-16 19:26:49 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-02-16 19:26:49 +0000 |
commit | a636b58ce17adad640ae392ffcf3f9dade2bff80 (patch) | |
tree | be1dfb9a3ebede197ffae7d106a4e71921c3889d /libavutil/pixdesc.h | |
parent | 4abd85141cc70c9c03df069863674b2bf32f1d49 (diff) | |
download | ffmpeg-a636b58ce17adad640ae392ffcf3f9dade2bff80.tar.gz |
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.
Originally committed as revision 21853 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/pixdesc.h')
0 files changed, 0 insertions, 0 deletions