summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc_mpv.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-03-25 14:11:41 +0200
committerMartin Storsjö <martin@martin.st>2013-03-26 09:50:02 +0200
commitf1e9398621af0bc9d166014e4ce6996bb4f141d0 (patch)
treef4a7c9b8055d6fa5852bbbc53bba9444f137e36c /libavformat/rtpenc_mpv.c
parent75644335b907919057960716508477239c26fed4 (diff)
downloadffmpeg-f1e9398621af0bc9d166014e4ce6996bb4f141d0.tar.gz
lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo
Also move the declaration to internal.h, and add restrict qualifiers to the declaration (as in the implementation). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpenc_mpv.c')
-rw-r--r--libavformat/rtpenc_mpv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpenc_mpv.c b/libavformat/rtpenc_mpv.c
index 37dedc33f5..70248c408a 100644
--- a/libavformat/rtpenc_mpv.c
+++ b/libavformat/rtpenc_mpv.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavcodec/mpegvideo.h"
+#include "libavcodec/internal.h"
#include "avformat.h"
#include "rtpenc.h"
@@ -56,7 +56,7 @@ void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size)
r1 = buf1;
while (1) {
start_code = -1;
- r = avpriv_mpv_find_start_code(r1, end, &start_code);
+ r = avpriv_find_start_code(r1, end, &start_code);
if((start_code & 0xFFFFFF00) == 0x100) {
/* New start code found */
if (start_code == 0x100) {