I want to decode an h.264 coded stream in an .mp4 container and in order to to that I have to decontainerize the elementary stream. The data I posess now is the one retrieved with AVCodecContext:
extradata 0x16125e0 "\001M@\037\377" extradata_size 35
How should I interpret these parameter in order to get the elementary stream and which function should I use in order to read from the stream (where is the stream stored in the structure?)?