| Index: source/patched-ffmpeg-mt/libavformat/movenc.c
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/libavformat/movenc.c (revision 59334)
|
| +++ source/patched-ffmpeg-mt/libavformat/movenc.c (working copy)
|
| @@ -755,8 +755,8 @@
|
|
|
| put_be32(pb, 16);
|
| put_tag(pb, "pasp");
|
| - put_be32(pb, track->enc->sample_aspect_ratio.num);
|
| - put_be32(pb, track->enc->sample_aspect_ratio.den);
|
| + put_be32(pb, sar.num);
|
| + put_be32(pb, sar.den);
|
| return 16;
|
| }
|
|
|
| @@ -1263,7 +1263,7 @@
|
| char buf[1000] = "";
|
| int len;
|
|
|
| - ff_sdp_write_media(buf, sizeof(buf), ctx, NULL, 0, 0);
|
| + ff_sdp_write_media(buf, sizeof(buf), ctx, NULL, NULL, 0, 0);
|
| av_strlcatf(buf, sizeof(buf), "a=control:streamid=%d\r\n", index);
|
| len = strlen(buf);
|
|
|
|
|