Mercurial > libavcodec.hg
comparison wmv2.c @ 2522:e25782262d7d libavcodec
kill warnings patch by (Mns Rullgrd <mru inprovide com>)
author | michael |
---|---|
date | Thu, 24 Feb 2005 19:08:50 +0000 |
parents | 81a9f883a17a |
children | 511e3afc43e1 |
comparison
equal
deleted
inserted
replaced
2521:d3885f927bc7 | 2522:e25782262d7d |
---|---|
99 encode_ext_header(w); | 99 encode_ext_header(w); |
100 | 100 |
101 return 0; | 101 return 0; |
102 } | 102 } |
103 | 103 |
104 #if 0 /* unused, remove? */ | |
104 static int wmv2_encode_end(AVCodecContext *avctx){ | 105 static int wmv2_encode_end(AVCodecContext *avctx){ |
105 | 106 |
106 if(MPV_encode_end(avctx) < 0) | 107 if(MPV_encode_end(avctx) < 0) |
107 return -1; | 108 return -1; |
108 | 109 |
109 avctx->extradata_size= 0; | 110 avctx->extradata_size= 0; |
110 av_freep(&avctx->extradata); | 111 av_freep(&avctx->extradata); |
111 | 112 |
112 return 0; | 113 return 0; |
113 } | 114 } |
115 #endif | |
114 | 116 |
115 int ff_wmv2_encode_picture_header(MpegEncContext * s, int picture_number) | 117 int ff_wmv2_encode_picture_header(MpegEncContext * s, int picture_number) |
116 { | 118 { |
117 Wmv2Context * const w= (Wmv2Context*)s; | 119 Wmv2Context * const w= (Wmv2Context*)s; |
118 | 120 |