On Sat, Mar 18, 2017 at 10:52:27AM +0100, wm4 wrote:
[...]
> > -        if (!strcmp(s->iformat->name, "mp3") || !strcmp(s->iformat->name, 
> > "aac") ||
> > -            !strcmp(s->iformat->name, "tta")) {
> > +        if (!strcmp(s->iformat->name, "mp1") || !strcmp(s->iformat->name, 
> > "mp2") || !strcmp(s->iformat->name, "mp3") ||
> > +            !strcmp(s->iformat->name, "aac") || !strcmp(s->iformat->name, 
> > "tta")) {
> 
> Jesus Christ, but I guess that's how this works.
> 

alternative: av_match_name(s->iformat->name, "mp1,mp2,mp3,aac,tta,")

-- 
Clément B.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to