On 12/28/2011 12:50 AM, Derek Buitenhuis wrote: > From: Reimar Döffinger <reimar.doeffin...@gmx.de> > > None of the raw audio files have timestamps, thus setting > start_time to 0 should be reasonable. > --- > libavformat/rawdec.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c > index 589cdd5..3e2dd05 100644 > --- a/libavformat/rawdec.c > +++ b/libavformat/rawdec.c > @@ -129,6 +129,7 @@ int ff_raw_audio_read_header(AVFormatContext *s, > st->codec->codec_type = AVMEDIA_TYPE_AUDIO; > st->codec->codec_id = s->iformat->value; > st->need_parsing = AVSTREAM_PARSE_FULL; > + st->start_time = 0; > /* the parameters will be extracted from the compressed bitstream */ > > return 0;
I don't see anything wrong with this, but does it fix anything? Is start_time otherwise initialized to something else? -Justin _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel