---
 libavformat/sdp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index ec9ec41..6626cc5 100644
--- a/libavformat/sdp.c
+++ b/libavformat/sdp.c
@@ -542,7 +542,7 @@ static char *sdp_write_media_attributes(char *buff, int 
size, AVCodecContext *c,
                                          8000, c->channels);
             break;
         case CODEC_ID_ADPCM_G726: {
-            if (payload_type <= RTP_PT_PRIVATE)
+            if (payload_type >= RTP_PT_PRIVATE)
                 av_strlcatf(buff, size, "a=rtpmap:%d G726-%d/%d\r\n",
                                          payload_type,
                                          c->bits_per_coded_sample*8,
-- 
1.7.10.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to