]> git.sesse.net Git - ffmpeg/commit
avformat/adtsenc: allow only AAC streams
authorGyan Doshi <gyandoshi@gmail.com>
Sun, 14 Jan 2018 12:00:23 +0000 (17:30 +0530)
committerJames Almer <jamrial@gmail.com>
Sun, 14 Jan 2018 12:57:51 +0000 (09:57 -0300)
commit96f94624e0a1a91134bd8e1e3127080b81716f6f
tree4601a7f7986371cc036261c77e7ce46f1168bfed
parent02dba49dd3f02c0b2d4f4740597a3062d6c4981c
avformat/adtsenc: allow only AAC streams

The ADTS muxer will silently (attempt to) mux any audio stream passed to it.
Patch adds a codec check.

Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/adtsenc.c