Still as experimental as the first one. Seems that the packets are empty
(zero bytes) now and then when doing stream copy. It would be
interesting to know why, Michael. I'm new at this.
--
Mats Peterson
http://matsp888.no-ip.org/~mats/
>From a803d1d4995b371e357f3e280ee37019d77c254e Mon Sep 17 0
On Sat, Feb 27, 2016 at 10:55:13PM +0100, Mats Peterson wrote:
> -if (!avist->hdr_pal_done) {
> -int64_t cur_offset = avio_tell(pb);
> -avio_seek(pb, avist->pal_offset, SEEK_SET);
> -for (i = 0; i < pal_size; i++) {
> -
On 02/28/2016 12:34 AM, Reimar Döffinger wrote:
On Sat, Feb 27, 2016 at 10:55:13PM +0100, Mats Peterson wrote:
-if (!avist->hdr_pal_done) {
-int64_t cur_offset = avio_tell(pb);
-avio_seek(pb, avist->pal_offset, SEEK_SET);
-
On 02/28/2016 01:13 AM, Mats Peterson wrote:
On 02/28/2016 12:34 AM, Reimar Döffinger wrote:
On Sat, Feb 27, 2016 at 10:55:13PM +0100, Mats Peterson wrote:
-if (!avist->hdr_pal_done) {
-int64_t cur_offset = avio_tell(pb);
-avio_seek(pb, a
On 28.02.2016, at 01:13, Mats Peterson wrote:
> On 02/28/2016 12:34 AM, Reimar Döffinger wrote:
>
>> On Sat, Feb 27, 2016 at 10:55:13PM +0100, Mats Peterson wrote:
>>> -if (!avist->hdr_pal_done) {
>>> -int64_t cur_offset = avio_tell(pb);
>>> -
On 02/28/2016 02:15 AM, Reimar Döffinger wrote:
+for (i = 0; i < pkt->side_data_elems; i++) {
+if (pkt->side_data[i].type == AV_PKT_DATA_PALETTE) {
+pal = pkt->side_data[i].data;
+break;
+}
+}
av_frame_get_side_data
No fr