Overview
avidemux3.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Fri Aug 22 2014 - joerg.lorenzen@ki.tng.de
4
+- update internal ffmpeg to version 1.2.8
5
+
6
+-------------------------------------------------------------------
7
Tue Jun 24 2014 - joerg.lorenzen@ki.tng.de
8
- update internal ffmpeg to version 1.2.7
9
10
avidemux3.spec
Changed
10
1
2
#
3
4
5
-%define ffmpeg_version 1.2.7
6
+%define ffmpeg_version 1.2.8
7
8
Name: avidemux3
9
Summary: Graphical video editing and transcoding tool
10
ffmpeg-1.2.7.tar.bz2/Changelog -> ffmpeg-1.2.8.tar.bz2/Changelog
Changed
16
1
2
Entries are sorted chronologically from oldest to youngest within each release,
3
releases are sorted from youngest to oldest.
4
5
+version 1.2.8:
6
+- proresenc_ks: fix buffer overflow
7
+- iff: fix crash
8
+- cdgraphics: fix infinite loop
9
+- Fix Ticket3804
10
+- Fix Ticket3208
11
+
12
+
13
version 1.2:
14
15
- VDPAU hardware acceleration through normal hwaccel
16
ffmpeg-1.2.7.tar.bz2/RELEASE -> ffmpeg-1.2.8.tar.bz2/RELEASE
Changed
4
1
2
-1.2.7
3
+1.2.8
4
ffmpeg-1.2.7.tar.bz2/VERSION -> ffmpeg-1.2.8.tar.bz2/VERSION
Changed
4
1
2
-1.2.7
3
+1.2.8
4
ffmpeg-1.2.7.tar.bz2/doc/Doxyfile -> ffmpeg-1.2.8.tar.bz2/doc/Doxyfile
Changed
10
1
2
# This could be handy for archiving the generated documentation or
3
# if some version control system is used.
4
5
-PROJECT_NUMBER = 1.2.7
6
+PROJECT_NUMBER = 1.2.8
7
8
# With the PROJECT_LOGO tag one can specify an logo or icon that is included
9
# in the documentation. The maximum height of the logo should not exceed 55
10
ffmpeg-1.2.7.tar.bz2/libavcodec/cdgraphics.c -> ffmpeg-1.2.8.tar.bz2/libavcodec/cdgraphics.c
Changed
14
1
2
*got_frame = 1;
3
} else {
4
*got_frame = 0;
5
- buf_size = 0;
6
}
7
8
*(AVFrame *) data = cc->frame;
9
- return buf_size;
10
+ return avpkt->size;
11
}
12
13
static av_cold int cdg_decode_end(AVCodecContext *avctx)
14
ffmpeg-1.2.7.tar.bz2/libavcodec/dv.c -> ffmpeg-1.2.8.tar.bz2/libavcodec/dv.c
Changed
13
1
2
static const int vs_total_ac_bits = (100 * 4 + 68*2) * 5;
3
static const int mb_area_start[5] = { 1, 6, 21, 43, 64 };
4
5
-static inline int put_bits_left(PutBitContext* s)
6
-{
7
- return (s->buf_end - s->buf) * 8 - put_bits_count(s);
8
-}
9
-
10
#if CONFIG_SMALL
11
/* Converts run and level (where level != 0) pair into VLC, returning bit size */
12
static av_always_inline int dv_rl2vlc(int run, int level, int sign, uint32_t* vlc)
13
ffmpeg-1.2.7.tar.bz2/libavcodec/dvdsub_parser.c -> ffmpeg-1.2.8.tar.bz2/libavcodec/dvdsub_parser.c
Changed
15
1
2
DVDSubParseContext *pc = s->priv_data;
3
4
if (pc->packet_index == 0) {
5
- if (buf_size < 2)
6
- return 0;
7
+ if (buf_size < 2 || AV_RB16(buf) && buf_size < 6) {
8
+ if (buf_size)
9
+ av_log(avctx, AV_LOG_DEBUG, "Parser input %d too small\n", buf_size);
10
+ return buf_size;
11
+ }
12
pc->packet_len = AV_RB16(buf);
13
if (pc->packet_len == 0) /* HD-DVD subpicture packet */
14
pc->packet_len = AV_RB32(buf+2);
15
ffmpeg-1.2.7.tar.bz2/libavcodec/iff.c -> ffmpeg-1.2.8.tar.bz2/libavcodec/iff.c
Changed
13
1
2
break;
3
case 4:
4
bytestream2_init(&gb, buf, buf_size);
5
- if (avctx->codec_tag == MKTAG('R','G','B','8'))
6
+ if (avctx->codec_tag == MKTAG('R','G','B','8') && avctx->pix_fmt == AV_PIX_FMT_RGB32)
7
decode_rgb8(&gb, s->frame.data[0], avctx->width, avctx->height, s->frame.linesize[0]);
8
- else if (avctx->codec_tag == MKTAG('R','G','B','N'))
9
+ else if (avctx->codec_tag == MKTAG('R','G','B','N') && avctx->pix_fmt == AV_PIX_FMT_RGB444)
10
decode_rgbn(&gb, s->frame.data[0], avctx->width, avctx->height, s->frame.linesize[0]);
11
else
12
return unsupported(avctx);
13
ffmpeg-1.2.7.tar.bz2/libavcodec/proresenc_kostya.c -> ffmpeg-1.2.8.tar.bz2/libavcodec/proresenc_kostya.c
Changed
36
1
2
num_cblocks, plane_factor,
3
qmat);
4
total_size += sizes[i];
5
+ if (put_bits_left(pb) < 0) {
6
+ av_log(avctx, AV_LOG_ERROR, "Serious underevaluation of"
7
+ "required buffer size");
8
+ return AVERROR_BUFFER_TOO_SMALL;
9
+ }
10
}
11
return total_size;
12
}
13
14
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
15
avctx->coded_frame->key_frame = 1;
16
17
- pkt_size = ctx->frame_size_upper_bound + FF_MIN_BUFFER_SIZE;
18
+ pkt_size = ctx->frame_size_upper_bound;
19
20
- if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size)) < 0)
21
+ if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size + FF_MIN_BUFFER_SIZE)) < 0)
22
return ret;
23
24
orig_buf = pkt->data;
25
26
slice_hdr = buf;
27
buf += slice_hdr_size - 1;
28
init_put_bits(&pb, buf, (pkt_size - (buf - orig_buf)) * 8);
29
- encode_slice(avctx, pic, &pb, sizes, x, y, q, mbs_per_slice);
30
+ ret = encode_slice(avctx, pic, &pb, sizes, x, y, q, mbs_per_slice);
31
+ if (ret < 0)
32
+ return ret;
33
34
bytestream_put_byte(&slice_hdr, q);
35
slice_size = slice_hdr_size + sizes[ctx->num_planes - 1];
36
ffmpeg-1.2.7.tar.bz2/libavcodec/put_bits.h -> ffmpeg-1.2.8.tar.bz2/libavcodec/put_bits.h
Changed
16
1
2
}
3
4
/**
5
+ * @return the number of bits available in the bitstream.
6
+ */
7
+static inline int put_bits_left(PutBitContext* s)
8
+{
9
+ return (s->buf_end - s->buf_ptr) * 8 - 32 + s->bit_left;
10
+}
11
+
12
+/**
13
* Pad the end of the output stream with zeros.
14
*/
15
static inline void flush_put_bits(PutBitContext *s)
16
ffmpeg-1.2.7.tar.bz2/libavformat/tee.c -> ffmpeg-1.2.8.tar.bz2/libavformat/tee.c
Changed
10
1
2
if ((ret = av_copy_packet(&pkt2, pkt)) < 0 ||
3
(ret = av_dup_packet(&pkt2))< 0)
4
if (!ret_all) {
5
- ret = ret_all;
6
+ ret_all = ret;
7
continue;
8
}
9
tb = avf ->streams[s]->time_base;
10
ffmpeg-1.2.7.tar.bz2/libavformat/utils.c -> ffmpeg-1.2.8.tar.bz2/libavformat/utils.c
Changed
11
1
2
}
3
4
/* read packet from packet buffer, if there is data */
5
- if (!(next_pkt->pts == AV_NOPTS_VALUE &&
6
+ st = s->streams[next_pkt->stream_index];
7
+ if (!(next_pkt->pts == AV_NOPTS_VALUE && st->discard < AVDISCARD_ALL &&
8
next_pkt->dts != AV_NOPTS_VALUE && !eof)) {
9
ret = read_from_packet_buffer(&s->packet_buffer,
10
&s->packet_buffer_end, pkt);
11
ffmpeg-1.2.7.tar.bz2/version.sh -> ffmpeg-1.2.8.tar.bz2/version.sh
Changed
14
1
2
3
# check for git short hash
4
if ! test "$revision"; then
5
- revision=$(cd "$1" && git describe --tags --match N 2> /dev/null)
6
+ if (cd "$1" && grep git RELEASE 2> /dev/null >/dev/null) ; then
7
+ revision=$(cd "$1" && git describe --tags --match N 2> /dev/null)
8
+ else
9
+ revision=$(cd "$1" && git describe --tags --always 2> /dev/null)
10
+ fi
11
fi
12
13
# Shallow Git clones (--depth) do not have the N tag:
14
Refresh
Refresh
Login required, please
login
or
signup
in order to comment
Request History
enzokiel created request over 10 years ago
- update internal ffmpeg to version 1.2.8
mrdocs accepted request over 10 years ago
ok checkin