aizvorski / h264bitstream

A complete set of functions to read and write H.264 video bitstreams, in particular to examine or modify headers.
GNU Lesser General Public License v2.1
732 stars 238 forks source link

fix build with g++ : error: ‘sei_scalability_priority_layer_info_t’ does not name a type #28

Closed mpromonet closed 6 years ago

mpromonet commented 6 years ago

Trying to compile a simple main like :

#include "h264_stream.h"
int main() {
    return 0;
}

Fails with the error :

In file included from h264_stream.h:31:0, from test.cpp:1: h264_sei.h:113:10: error: ‘sei_scalability_priority_layer_info_t’ does not name a type; did you mean ‘sei_scalability_layer_info_t’? typedef sei_scalability_priority_layer_info_t; ^~~~~~~~~ sei_scalability_layer_info_t

This pull request remove the typedef that seems an old forward declaration.

Best Regards Michel.

aizvorski commented 6 years ago

Also fixed in e888b8d

Yes, this seems like leftover old code.