Revision f7d78f36 libavformat/rtp_h264.c

View differences:

libavformat/rtp_h264.c
47 47
#include "rtp_internal.h"
48 48
#include "rtp_h264.h"
49 49
#include "base64.h"
50
#include "avstring.h"
50 51

  
51 52
/**
52 53
    RTP/H264 specific private data.
......
357 358

  
358 359
    assert(h264_data->cookie == MAGIC_COOKIE);
359 360

  
360
    if (strstart(p, "framesize:", &p)) {
361
    if (av_strstart(p, "framesize:", &p)) {
361 362
        char buf1[50];
362 363
        char *dst = buf1;
363 364

  
......
375 376
        codec->width = atoi(buf1);
376 377
        codec->height = atoi(p + 1); // skip the -
377 378
        codec->pix_fmt = PIX_FMT_YUV420P;
378
    } else if (strstart(p, "fmtp:", &p)) {
379
    } else if (av_strstart(p, "fmtp:", &p)) {
379 380
        char attr[256];
380 381
        char value[4096];
381 382

  
......
390 391
            /* grab the codec extra_data from the config parameter of the fmtp line */
391 392
            sdp_parse_fmtp_config_h264(stream, h264_data, attr, value);
392 393
        }
393
    } else if (strstart(p, "cliprect:", &p)) {
394
    } else if (av_strstart(p, "cliprect:", &p)) {
394 395
        // could use this if we wanted.
395 396
    }
396 397

  

Also available in: Unified diff