[FFmpeg-devel] [FFmpeg-cvslog] avcodec/wmaprodec: >2 channel support for XMA

Paul B Mahol onemda at gmail.com
Thu Jan 19 10:23:52 EET 2017


On 1/19/17, Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Thu, Jan 19, 2017 at 12:44:38AM +0100, Paul B Mahol wrote:
>> ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 17
>> 15:54:57 2017 +0100| [6c43f33ac2e7606b2013f6261144389589394196] |
>> committer: Paul B Mahol
>>
>> avcodec/wmaprodec: >2 channel support for XMA
>>
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>>
>> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6c43f33ac2e7606b2013f6261144389589394196
>> ---
>>
>>  libavcodec/wmaprodec.c | 274
>> ++++++++++++++++++++++++++++++++++++-------------
>>  libavformat/wavdec.c   |   3 +
>>  2 files changed, 204 insertions(+), 73 deletions(-)
>
> This causes an assertion failure:
>
>
> [xma2 @ 0x2093b40] get_buffer() failed
> [asf @ 0x2092500] packet fragment position invalid 0,0 not in 0
>     Last message repeated 1 times
> Assertion n>0 && n<=25 failed at libavcodec/get_bits.h:265

Do you have sample file?

>
> Program received signal SIGABRT, Aborted.
> 0x00007ffff01af035 in raise () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) bt
> Python Exception <type 'exceptions.ImportError'> No module named
> gdb.frames:
> #0  0x00007ffff01af035 in raise () from /lib/x86_64-linux-gnu/libc.so.6
> #1  0x00007ffff01b279b in abort () from /lib/x86_64-linux-gnu/libc.so.6
> #2  0x0000000000c4dc1e in get_bits (s=0x7fffec42eda0, n=0) at
> libavcodec/get_bits.h:265
> #3  0x0000000000c52e26 in decode_packet (avctx=0x2093b40, s=0x7fffec41e040,
> data=0x0, got_frame_ptr=0x7fffffffd6ac, avpkt=0x7fffffffd700) at
> libavcodec/wmaprodec.c:1627
> #4  0x0000000000c5333f in xma_decode_packet (avctx=0x2093b40,
> data=0x2094a80, got_frame_ptr=0x7fffffffd7f4, avpkt=0x7fffffffd700) at
> libavcodec/wmaprodec.c:1752
> #5  0x0000000000b444b9 in avcodec_decode_audio4 (avctx=0x2093b40,
> frame=0x2094a80, got_frame_ptr=0x7fffffffd7f4, avpkt=0x7fffffffd8b0) at
> libavcodec/utils.c:2363
> #6  0x0000000000b45ef3 in do_decode (avctx=0x2093b40, pkt=0x7fffffffd8b0) at
> libavcodec/utils.c:2794
> #7  0x0000000000b4629d in avcodec_send_packet (avctx=0x2093b40,
> avpkt=0x7fffffffd8b0) at libavcodec/utils.c:2878
> #8  0x00000000007582cb in try_decode_frame (s=0x2092500, st=0x20931a0,
> avpkt=0x7fffffffd9a0, options=0x2093160) at libavformat/utils.c:2983
> #9  0x000000000075b12e in avformat_find_stream_info (ic=0x2092500,
> options=0x2093160) at libavformat/utils.c:3684
> #10 0x000000000041ba23 in open_input_file (o=0x7fffffffde00,
> filename=0x7fffffffe6b2 "a.wma") at ffmpeg_opt.c:1021
> #11 0x0000000000425350 in open_files (l=0x2092318, inout=0x10bf117 "input",
> open_file=0x41b097 <open_input_file>) at ffmpeg_opt.c:3233
> #12 0x00000000004254d3 in ffmpeg_parse_options (argc=3, argv=0x7fffffffe408)
> at ffmpeg_opt.c:3273
> #13 0x000000000043b047 in main (argc=3, argv=0x7fffffffe408) at
> ffmpeg.c:4566
>
> [...9
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> The worst form of inequality is to try to make unequal things equal.
> -- Aristotle
>


More information about the ffmpeg-devel mailing list