[Ffmpeg-devel] [PATCH] DVR-MS probe audio format - was DVR-MS bug (MP2 decoding)
John Donaghy
johnfdonaghy
Tue Apr 10 19:46:56 CEST 2007
> > Probably nothing but I can test to find out. I though it was better to
> get
> > out as soon as possible because of the frame flush it has to do. If
> nothing
> > breaks do you want me to re-submit with the check only at the end?
>
> yes
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.
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lavf_asf_ac3.diff
Type: text/x-patch
Size: 4761 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070410/cb373fdd/attachment.bin>
More information about the ffmpeg-devel
mailing list