[FFmpeg-devel] [PATCH 11/14] avformat/rtmpproto: add more enhanced rtmp codecs
Michael Niedermayer
michael at niedermayer.cc
Mon Dec 16 00:31:25 EET 2024
Hi
On Thu, Dec 12, 2024 at 08:55:36PM +0100, Timo Rothenpieler wrote:
> ---
> libavformat/rtmpproto.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
> index b3b1eedacb..a56fec759f 100644
> --- a/libavformat/rtmpproto.c
> +++ b/libavformat/rtmpproto.c
> @@ -356,9 +356,16 @@ static int gen_connect(URLContext *s, RTMPContext *rt)
>
> while(fourcc_data - rt->enhanced_codecs < fourcc_str_len) {
> unsigned char fourcc[5];
> - if (!strncmp(fourcc_data, "hvc1", 4) ||
> + if (!strncmp(fourcc_data, "avc1", 4) ||
> + !strncmp(fourcc_data, "hvc1", 4) ||
> !strncmp(fourcc_data, "av01", 4) ||
> + !strncmp(fourcc_data, "vp09", 4) ||
> + !strncmp(fourcc_data, "mp4a", 4) ||
> + !strncmp(fourcc_data, "Opus", 4) ||
> + !strncmp(fourcc_data, "fLaC", 4) ||
> + !strncmp(fourcc_data, ".mp3", 4) ||
> + !strncmp(fourcc_data, "ac-3", 4) ||
> + !strncmp(fourcc_data, "ec-3", 4)) {
> - !strncmp(fourcc_data, "vp09", 4)) {
maybe this should be sorted alphabetically
otherwise it should be fine
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241215/99f597f0/attachment.sig>
More information about the ffmpeg-devel
mailing list