Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtpenc.c')
-rw-r--r--libavformat/rtpenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index 4f115cc77e..17f5d9d308 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -85,6 +85,7 @@ static int is_supported(enum AVCodecID id)
case AV_CODEC_ID_SPEEX:
case AV_CODEC_ID_OPUS:
case AV_CODEC_ID_RAWVIDEO:
+ case AV_CODEC_ID_BITPACKED:
return 1;
default:
return 0;
@@ -620,6 +621,7 @@ static int rtp_write_packet(AVFormatContext *s1, AVPacket *pkt)
case AV_CODEC_ID_MJPEG:
ff_rtp_send_jpeg(s1, pkt->data, size);
break;
+ case AV_CODEC_ID_BITPACKED:
case AV_CODEC_ID_RAWVIDEO:
ff_rtp_send_raw_rfc4175 (s1, pkt->data, size);
break;