Fix AV Packets with flag in first byte + Test

This commit is contained in:
Florian Märkl 2019-06-30 15:11:50 +02:00
commit b0e0cbec0b
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
4 changed files with 358 additions and 0 deletions

View file

@ -60,6 +60,14 @@ static MunitResult test_av_packet_parse(const MunitParameter params[], void *use
}
static MunitResult test_av_packet_parse_real_video(const MunitParameter params[], void *user)
{
#include "takion_av_packet_parse_real_video.inl"
return MUNIT_OK;
}
MunitTest tests_takion[] = {
{
"/av_packet_parse",
@ -69,5 +77,13 @@ MunitTest tests_takion[] = {
MUNIT_TEST_OPTION_NONE,
NULL
},
{
"/av_packet_parse_real_video",
test_av_packet_parse_real_video,
NULL,
NULL,
MUNIT_TEST_OPTION_NONE,
NULL
},
{ NULL, NULL, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL }
};