]> git.sesse.net Git - ffmpeg/commit
avformat/pp_bnk: treat music files as stereo
authorZane van Iperen <zane@zanevaniperen.com>
Fri, 13 Nov 2020 01:30:51 +0000 (11:30 +1000)
committerZane van Iperen <zane@zanevaniperen.com>
Fri, 19 Mar 2021 13:38:33 +0000 (23:38 +1000)
commit6973df112275c8ea4af0bf3cb1338baecc1d06b3
treeb94d874e1afacc7a6fa044bb7530748d06be184e
parentd294c33231228bd6d1ef9d33d3480614b0aebf0a
avformat/pp_bnk: treat music files as stereo

These files are technically a series of planar mono tracks.
If the "music" flag is set, merge the packets from the two
mono tracks, essentially replicating:

  [0:a:0][0:a:1]join=inputs=2:channel_layout=stereo[a]

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
libavformat/pp_bnk.c