~medibuntu-maintainers/mplayer/medibuntu.precise

« back to all changes in this revision

Viewing changes to stream/http.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:23:28 UTC
  • mfrom: (0.4.7 sid)
  • mto: This revision was merged to the branch mainline in revision 76.
  • Revision ID: package-import@ubuntu.com-20120112222328-8jqdyodym3p84ygu
Tags: 2:1.0~rc4.dfsg1+svn34540-1
* New upstream snapshot
* upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
 * \param fd file descriptor to read from
81
81
 * \param sc streaming_ctrl_t whose buffer is consumed before reading from fd
82
82
 * \return number of real data before next metadata block starts or 0 on error
 
83
 *
 
84
 * You can use unsv://samples.mplayerhq.hu/V-codecs/VP5/vp5_artefacts.nsv to
 
85
 * test.
83
86
 */
84
87
static unsigned uvox_meta_read(int fd, streaming_ctrl_t *sc) {
85
88
  unsigned metaint;
674
677
        mp_msg(MSGT_NETWORK,MSGL_V,"method:             [%s]\n", http_hdr->method );
675
678
        mp_msg(MSGT_NETWORK,MSGL_V,"status code:        [%d]\n", http_hdr->status_code );
676
679
        mp_msg(MSGT_NETWORK,MSGL_V,"reason phrase:      [%s]\n", http_hdr->reason_phrase );
677
 
        mp_msg(MSGT_NETWORK,MSGL_V,"body size:          [%zd]\n", http_hdr->body_size );
 
680
        mp_msg(MSGT_NETWORK,MSGL_V,"body size:          [%zu]\n", http_hdr->body_size );
678
681
 
679
682
        mp_msg(MSGT_NETWORK,MSGL_V,"Fields:\n");
680
683
        field = http_hdr->first_field;