From patchwork Mon Oct 19 08:19:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Gaullier X-Patchwork-Id: 23069 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id E2AB644AFB0 for ; Mon, 19 Oct 2020 11:19:33 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B43A568B863; Mon, 19 Oct 2020 11:19:33 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from srv-infra-2.infra.inf.glb.tvvideoms.com (unknown [213.205.126.156]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CB40F68B4D7 for ; Mon, 19 Oct 2020 11:19:27 +0300 (EEST) Received: from cji.paris (unknown [172.16.3.159]) by srv-infra-2.infra.inf.glb.tvvideoms.com (Postfix) with ESMTP id F068640481; Mon, 19 Oct 2020 08:19:26 +0000 (UTC) From: Nicolas Gaullier To: ffmpeg-devel@ffmpeg.org Date: Mon, 19 Oct 2020 10:19:20 +0200 Message-Id: <20201019081929.1926-1-nicolas.gaullier@cji.paris> X-Mailer: git-send-email 2.27.0.windows.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v5 0/9] avformat: wav-s337m support + new probe_stream option X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Nicolas Gaullier Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Updates: * patch 1 : commit msg amended (anton) * patch 3 : 'if' line split (tomas) Everthing else: unchanged since v4 For remembering: the test sample 512.wav can be downloaded here: https://0x0.st/zdW-.wav Nicolas Gaullier (9): avcodec/dolby_e: set constant frame_size avformat/s337m: Split read_packet/get_packet avformat/s337m: Consider container bit resolution avformat/s337m: New ff_s337m_probe() avformat/wavdec: s337m support avformat/wavdec.c: Reindent after last commit avformat/wavdec: fix s337m/spdif probing beyond data_end avformat/wavdec: Test s337m avformat: Add probe_stream option doc/formats.texi | 3 ++ libavcodec/dolby_e.c | 1 + libavformat/avformat.h | 9 ++++- libavformat/options_table.h | 1 + libavformat/s337m.c | 73 ++++++++++++++++++++++++++++++++----- libavformat/s337m.h | 54 +++++++++++++++++++++++++++ libavformat/utils.c | 2 + libavformat/version.h | 2 +- libavformat/wavdec.c | 53 ++++++++++++++++++--------- tests/Makefile | 1 + tests/fate/audio.mak | 3 ++ tests/ref/fate/s337m-wav | 11 ++++++ 12 files changed, 185 insertions(+), 28 deletions(-) create mode 100644 libavformat/s337m.h create mode 100644 tests/ref/fate/s337m-wav