[FFmpeg-devel] [PATCH 7/7] avformat: add hca demuxer

Lou Logan lou at lrcd.com
Tue Mar 17 00:40:26 EET 2020


On Mon, Mar 16, 2020, at 2:30 AM, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavformat/Makefile     |   1 +
>  libavformat/allformats.c |   1 +
>  libavformat/hca.c        | 148 +++++++++++++++++++++++++++++++++++++++
>  3 files changed, 150 insertions(+)
>  create mode 100644 libavformat/hca.c

Some warnings:

libavformat/hca.c: In function ‘hca_read_header’:
libavformat/hca.c:46:14: warning: variable ‘ath_type’ set but not used [-Wunused-but-set-variable]
   46 |     int ret, ath_type;
      |              ^~~~~~~~
libavformat/hca.c: In function ‘hca_read_packet’:
libavformat/hca.c:132:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  132 |     AVCodecContext *codec = s->streams[0]->codec;
      |     ^~~~~~~~~~~~~~
In file included from libavformat/hca.c:23:
libavformat/avformat.h:884:21: note: declared here
  884 |     AVCodecContext *codec;
      |                     ^~~~~


More information about the ffmpeg-devel mailing list