OSDN Git Service

lavf/rtpdec_g726: Map mime type G726 to g726le.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 22 Oct 2016 01:53:38 +0000 (03:53 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 22 Oct 2016 01:53:38 +0000 (03:53 +0200)
commit6969bed12c6fc53509aa694aab32d01838318f30
tree36a8108a777f6bff99f8cdca449abd3f4dd6f192
parent41da4f8cb3a7ac6888dbe6a6bbe1a573a74062ff
lavf/rtpdec_g726: Map mime type G726 to g726le.

Add new mime types AAL2-G726 for g726 as suggested in rfc 3551.

This patch will break interaction with applications that incorrectly
use big-endian G.726 with mime type G726 but we know of at least one
device (DVTel camera) that correctly implements the rfc, so do the same.

Fixes ticket #5890.
Changelog
libavformat/rtpdec.c
libavformat/rtpdec_formats.h
libavformat/rtpdec_g726.c
libavformat/version.h