~ubuntu-branches/ubuntu/utopic/libav/utopic

« back to all changes in this revision

Viewing changes to libavformat/rtpenc_aac.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-12-21 15:32:13 UTC
  • mto: (1.2.18)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: package-import@ubuntu.com-20121221153213-fudzrugjzivtv0wp
Tags: upstream-9~beta3
ImportĀ upstreamĀ versionĀ 9~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
            memmove(p + 2, s->buf + 2, au_size);
48
48
        }
49
49
        /* Write the AU header size */
50
 
        p[0] = ((au_size * 8) & 0xFF) >> 8;
51
 
        p[1] = (au_size * 8) & 0xFF;
 
50
        p[0] =  au_size >> 5;
 
51
        p[1] = (au_size & 0x1F) << 3;
52
52
 
53
53
        ff_rtp_send_data(s1, p, s->buf_ptr - p, 1);
54
54