Message ID | 20220314115602.263642-2-onemda@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/2] avcodec: add null encoders | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | fail | Make fate failed |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | fail | Make fate failed |
andriy/make_aarch64_jetson | success | Make finished |
andriy/make_fate_aarch64_jetson | fail | Make fate failed |
andriy/make_armv7_RPi4 | success | Make finished |
andriy/make_fate_armv7_RPi4 | fail | Make fate failed |
diff --git a/libavformat/nullenc.c b/libavformat/nullenc.c index d4769d5920..a83ed72039 100644 --- a/libavformat/nullenc.c +++ b/libavformat/nullenc.c @@ -30,8 +30,8 @@ static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt) const AVOutputFormat ff_null_muxer = { .name = "null", .long_name = NULL_IF_CONFIG_SMALL("raw null video"), - .audio_codec = AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE), - .video_codec = AV_CODEC_ID_WRAPPED_AVFRAME, + .audio_codec = AV_CODEC_ID_AUDIO_NULL, + .video_codec = AV_CODEC_ID_VIDEO_NULL, .write_packet = null_write_packet, .flags = AVFMT_VARIABLE_FPS | AVFMT_NOFILE | AVFMT_NOTIMESTAMPS, .interleave_packet = ff_interleave_packet_passthrough,
Signed-off-by: Paul B Mahol <onemda@gmail.com> --- libavformat/nullenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)