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

Unified Diff: source/patched-ffmpeg-mt/libavformat/vorbiscomment.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/utils.c ('k') | source/patched-ffmpeg-mt/libavformat/wav.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg-mt/libavformat/vorbiscomment.c
===================================================================
--- source/patched-ffmpeg-mt/libavformat/vorbiscomment.c (revision 59334)
+++ source/patched-ffmpeg-mt/libavformat/vorbiscomment.c (working copy)
@@ -43,7 +43,7 @@
*count = 0;
if (m) {
AVMetadataTag *tag = NULL;
- while ( (tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX) ) ) {
+ while ((tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX))) {
len += 4 +strlen(tag->key) + 1 + strlen(tag->value);
(*count)++;
}
@@ -59,7 +59,7 @@
if (m) {
AVMetadataTag *tag = NULL;
bytestream_put_le32(p, count);
- while ( (tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX) ) ) {
+ while ((tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX))) {
unsigned int len1 = strlen(tag->key);
unsigned int len2 = strlen(tag->value);
bytestream_put_le32(p, len1+1+len2);
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/utils.c ('k') | source/patched-ffmpeg-mt/libavformat/wav.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698