[Ffmpeg-devel] [PATCH] DVR-MS probe audio format - was DVR-MS bug (MP2 decoding)
Tue Apr 10 19:46:56 CEST 2007
> > Probably nothing but I can test to find out. I though it was better to
> > out as soon as possible because of the frame flush it has to do. If
> > breaks do you want me to re-submit with the check only at the end?
Well I did it and it works - so here it is.
> Also is
> > there a better way to set te ecodec_id than this:
> > if (strncmp(fmt->name, "mp3", 3) == 0)
> > st->codec->codec_id = CODEC_ID_MP3;
> > else if (strncmp(fmt->name, "ac3", 3) == 0)
> > st->codec->codec_id = CODEC_ID_AC3;
> i dunno ...
I didnt find another way to do this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4761 bytes
Desc: not available
More information about the ffmpeg-devel