nullenc: Use the wrapped avframe pseudo-encoder

This commit is contained in:
Luca Barbato 2015-10-09 16:24:05 +02:00
parent d00a8fd417
commit b9ece15a01
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ AVOutputFormat ff_null_muxer = {
.name = "null", .name = "null",
.long_name = NULL_IF_CONFIG_SMALL("raw null video"), .long_name = NULL_IF_CONFIG_SMALL("raw null video"),
.audio_codec = AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE), .audio_codec = AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE),
.video_codec = AV_CODEC_ID_RAWVIDEO, .video_codec = AV_CODEC_ID_WRAPPED_AVFRAME,
.write_packet = null_write_packet, .write_packet = null_write_packet,
.flags = AVFMT_NOFILE | AVFMT_NOTIMESTAMPS | AVFMT_RAWPICTURE, .flags = AVFMT_NOFILE | AVFMT_NOTIMESTAMPS,
}; };