[libav-commits] flvenc: Remove an unused variable

Michael Niedermayer git at libav.org
Sat Nov 22 21:33:30 CET 2014


Module: libav
Branch: master
Commit: 4b68edd08ac352e314ae3fc701f90b081e549324

Author:    Michael Niedermayer <michaelni at gmx.at>
Committer: Martin Storsjö <martin at martin.st>
Date:      Mon Nov 17 13:08:05 2014 +0100

flvenc: Remove an unused variable

Signed-off-by: Martin Storsjö <martin at martin.st>

---

 libavformat/flvenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 9f39fa7..202df86 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -196,7 +196,7 @@ static void write_metadata(AVFormatContext *s, unsigned int ts)
 {
     AVIOContext *pb = s->pb;
     FLVContext *flv = s->priv_data;
-    int i, metadata_count = 0;
+    int metadata_count = 0;
     int64_t metadata_size_pos, data_size, metadata_count_pos;
     AVDictionaryEntry *tag = NULL;
 



More information about the libav-commits mailing list