Mercurial > libavformat.hg
comparison rtpproto.c @ 6413:179ddd49895f libavformat
Add rtp_get_rtcp_file_handle function
Patch by Josh Allmann, joshua dot allmann at gmail
author | mstorsjo |
---|---|
date | Wed, 25 Aug 2010 17:32:59 +0000 |
parents | 37944ce385a0 |
children | 7406dd71c060 |
comparison
equal
deleted
inserted
replaced
6412:6d6b63b7e5e3 | 6413:179ddd49895f |
---|---|
371 { | 371 { |
372 RTPContext *s = h->priv_data; | 372 RTPContext *s = h->priv_data; |
373 return s->rtp_fd; | 373 return s->rtp_fd; |
374 } | 374 } |
375 | 375 |
376 int rtp_get_rtcp_file_handle(URLContext *h) { | |
377 RTPContext *s = h->priv_data; | |
378 return s->rtcp_fd; | |
379 } | |
380 | |
376 URLProtocol rtp_protocol = { | 381 URLProtocol rtp_protocol = { |
377 "rtp", | 382 "rtp", |
378 rtp_open, | 383 rtp_open, |
379 rtp_read, | 384 rtp_read, |
380 rtp_write, | 385 rtp_write, |