NOW It works. > This loop does not work, because you need to fetch the next packet into > h264buffer. With mpeg2, it probably only works because frameFinished is > always true after the first iteration for the streams you tested.
Yes you are right. I forgot to say that my avpacket contains a chunk of a picture. It works, my mistake was a false saved ppm (the header was wrong). Now I got a picture and can display it. Thank you so much for your help, because I understand now the deeper structure of libav. And your hints helped me very very much!!! I wish you all the best! Sven _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
