Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: source/patched-ffmpeg-mt/libavformat/movenc.c

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/mov.c ('k') | source/patched-ffmpeg-mt/libavformat/mpegts.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/mov.c ('k') | source/patched-ffmpeg-mt/libavformat/mpegts.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698