Closed shirishag75 closed 5 years ago
Thanks for the report.
I tried to fix most of the problems, however I was not able to replace avcodec_decode_audio4
.
The problem is that avcodec_receive_frame
always returns 0.
The relevant code is currently at codec.cpp:195:
/* new API does not work, why? */
// avcodec_send_packet(context_, &avp);
// int consumed = avcodec_receive_frame(context_, frame);
/* using deprecated API instead */
int consumed = avcodec_decode_audio4(context_, frame, &got_frame, &avp);
Got some deprecated warnings, maybe you would want to look into that -
Package: libavformat-dev Version: 7:4.1-1 Severity: normal
-- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
Versions of packages libavformat-dev depends on: ii libavcodec-dev 7:4.1-1 ii libavformat58 7:4.1-1 ii libavutil-dev 7:4.1-1 ii libswresample-dev 7:4.1-1
libavformat-dev recommends no packages.
libavformat-dev suggests no packages.
-- no debconf information