]> git.sesse.net Git - vlc/commit
mft: Use the right index for IMFSample_GetBufferByIndex
authorMartin Storsjö <martin@martin.st>
Mon, 27 Oct 2014 19:05:51 +0000 (21:05 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 27 Oct 2014 19:36:46 +0000 (20:36 +0100)
commitd05c17272e276174109758315fbd413164b789d6
tree4661fea721a5fc9b7b8335e694cd3b4219133783
parent0b9f0d211699248112818b50e5b68d22c996cf3f
mft: Use the right index for IMFSample_GetBufferByIndex

The input stream id is completely unrelated to the input
sample buffer index - the sample allocated in AllocateInputSample
contains one single media buffer, at index 0.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/mft.c