diff options
author | Raivo Hool <raivo.hool@gmail.com> | 2011-10-21 16:04:14 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-21 20:29:05 +0200 |
commit | 5da35d1cb37fbaf0c6233955ec1934216d75a3bc (patch) | |
tree | 4475cfc13553fb79f1c48497f70ad5365da47f91 /libavformat/mov.c | |
parent | 80951f5cf6cd34b317857c710d8cce09b0b73c4f (diff) | |
download | ffmpeg-5da35d1cb37fbaf0c6233955ec1934216d75a3bc.tar.gz |
mov: rename function _stik, some indentation cosmetics
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 84bd4ed9c8..3a00b4679f 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -116,15 +116,15 @@ static int mov_metadata_int8_bypass_padding(MOVContext *c, AVIOContext *pb, return 0; } -static int mov_metadata_stik(MOVContext *c, AVIOContext *pb, - unsigned len, const char *key) +static int mov_metadata_int8_no_padding(MOVContext *c, AVIOContext *pb, + unsigned len, const char *key) { - char buf[16]; + char buf[16]; - snprintf(buf, sizeof(buf), "%hu", avio_r8(pb)); - av_dict_set(&c->fc->metadata, key, buf, 0); + snprintf(buf, sizeof(buf), "%hu", avio_r8(pb)); + av_dict_set(&c->fc->metadata, key, buf, 0); - return 0; + return 0; } static int mov_metadata_gnre(MOVContext *c, AVIOContext *pb, @@ -224,7 +224,7 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom) case MKTAG( 't','v','s','n'): key = "season_number"; parse = mov_metadata_int8_bypass_padding; break; case MKTAG( 's','t','i','k'): key = "media_type"; - parse = mov_metadata_stik; break; + parse = mov_metadata_int8_no_padding; break; } if (c->itunes_metadata && atom.size > 8) { |