diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-18 19:50:37 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-16 10:47:11 -0500 |
commit | 773ff823dac3da733c251b4cb1cc95b3b7e03001 (patch) | |
tree | d54ec0c380eaa614584eed1a6f3ab19b69797aab /libavcodec/apedec.c | |
parent | 9546f331c6723d046f302da15acaa0ed52c03866 (diff) | |
download | ffmpeg-773ff823dac3da733c251b4cb1cc95b3b7e03001.tar.gz |
bethsoftvid: add audio stream only after getting the first audio packet
This avoids initializing a stream with dummy values or when the file does not
contain audio.
Also set duration for audio packets, using the sample rate as the time base.
Diffstat (limited to 'libavcodec/apedec.c')
0 files changed, 0 insertions, 0 deletions