Revision 7080cbe2 libavformat/ffmenc.c

View differences:

libavformat/ffmenc.c
168 168
        default:
169 169
            return -1;
170 170
        }
171
        if (codec->flags & CODEC_FLAG_GLOBAL_HEADER) {
172
            put_be32(pb, codec->extradata_size);
173
            put_buffer(pb, codec->extradata, codec->extradata_size);
174
        }
171 175
    }
172 176

  
173 177
    /* flush until end of block reached */

Also available in: Unified diff