diff options
author | Ramiro Polla <ramiro@lisha.ufsc.br> | 2007-02-14 17:01:32 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2007-02-14 17:01:32 +0000 |
commit | cc58300e30e7aea6acfecd72a04a3886b285cfd8 (patch) | |
tree | e1060df29a65226dcdf1378538c920a1a544e2f8 /libavformat/beosaudio.cpp | |
parent | 20121213630a03001148f3ffdadac895dae8d7c5 (diff) | |
download | ffmpeg-cc58300e30e7aea6acfecd72a04a3886b285cfd8.tar.gz |
implement new grabbing interface, as described here:
ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
Date: Jan 31, 2007 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] New grabbing interface
Originally committed as revision 7983 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/beosaudio.cpp')
-rw-r--r-- | libavformat/beosaudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/beosaudio.cpp b/libavformat/beosaudio.cpp index ae77809747..6c16f0048c 100644 --- a/libavformat/beosaudio.cpp +++ b/libavformat/beosaudio.cpp @@ -361,7 +361,7 @@ static int audio_read_header(AVFormatContext *s1, AVFormatParameters *ap) s->sample_rate = ap->sample_rate; s->channels = ap->channels; - ret = audio_open(s, 0, ap->device); + ret = audio_open(s, 0, s1->filename); if (ret < 0) { av_free(st); return AVERROR(EIO); |