[FFmpeg-devel,V1,2/2] lavf/vc1test: Remove the extensions field.

Submitted by Jun Zhao on April 12, 2019, 11:20 a.m.

Details

Message ID 1555068052-27573-2-git-send-email-mypopydev@gmail.com
State New
Headers show

Commit Message

Jun Zhao April 12, 2019, 11:20 a.m.
From: Jun Zhao <barryjzhao@tencent.com>

Now if extensions are defined, then no probe is done, so remove the
extensions in vc1test demuxer.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
---
 libavformat/vc1test.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Michael Niedermayer April 12, 2019, 6 p.m.
On Fri, Apr 12, 2019 at 07:20:52PM +0800, Jun Zhao wrote:
> From: Jun Zhao <barryjzhao@tencent.com>
> 
> Now if extensions are defined, then no probe is done, so remove the
> extensions in vc1test demuxer.

probing is done even if extensions are set.
Just put a abort() in vc1t_probe() and try


[...]

Patch hide | download patch | download mbox

diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index 3c67793..b350232 100644
--- a/libavformat/vc1test.c
+++ b/libavformat/vc1test.c
@@ -122,6 +122,5 @@  AVInputFormat ff_vc1t_demuxer = {
     .read_probe     = vc1t_probe,
     .read_header    = vc1t_read_header,
     .read_packet    = vc1t_read_packet,
-    .extensions     = "rcv",
     .flags          = AVFMT_GENERIC_INDEX,
 };